-
Dependencies
- Populate
.env.development
file with values found in.env.example
npm install
to install packages
- Populate
-
Start database
docker-compose up
turn database onnpm run database:migrate:latest
add database structurenpm run seed
add mock data
-
Start the api
npm run dev
-
When making
schema
changes runnpm run codegen
to generate types
-
Test user credentials:
username
/password
-
Playground is by default running @
http://localhost:4000/graphql
-
/health
shows if the API is ready and running 200 OK -
/version
shows the current version
-
Create aws api keys and add a profile in serverless configuration
-
serverless deploy
-
Wait...
-
During serverless deploy you can populate env variables in
AWS
=>AWS Systems Manager
=>Parameter Store
. -
AWS Aurora(DB) connection????
-
Play and have fun