Skip to content

ErickSumargo/Dads-Engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CI FOSSA Status

Microservice for client Dads powered with GraphQL engine by Apollo GraphQL.

Application

Stacks

Architecture

How to run

  • Install dependencies for local node_modules.
npm install
  • Generate Prisma Client (experimental).
npx prisma generate --schema src/database/schema.prisma
  • Setup your local MySQL database and retrieve the URL. The URL placeholder will be:
mysql://USER:PASSWORD@HOST:PORT/DATABASE, 
for example: mysql://root:1234@127.0.0.1:3306/dads

Note: If you don't set the password, you may omit the :1234 part.

  • Create new .env file in the root project's root folder, then set:
DATABASE_URL=[MYSQL_DATABASE_URL]
JWT_VERIFICATION=[SHARED_KEY] (see Contributing section 👇)
  • Run the application.
npm start
  • The default port for the application should be 4000 (you may configure it too). Now you can visit:
http://localhost:4000

Contributing

Let's get in touch if you're interested in contributing. Fork it, submit your PR.
Also feel free to open new issue, request features, or any kind of your support (join stargazers️ | treat me coffee 😁).

Licenses

FOSSA Status