-
Dependencies
- Populate
.env.developmentfile with values found in.env.example npm installto install packages
- Populate
-
Start database
docker-compose upturn database onnpm run database:migrate:latestadd database structurenpm run seedadd mock data
-
Start the api
npm run dev
-
When making
schemachanges runnpm run codegento generate types
-
Test user credentials:
username/password -
Playground is by default running @
http://localhost:4000/graphql
-
/healthshows if the API is ready and running 200 OK -
/versionshows 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