Node >=16, npm >=8, Docker, Docker-Compose should be installed in the system.
yarn install
Fill in .env
file using .env.example
as an example.
If you want to use apollo studio for testing API you can signup and create new graph, and then you can get creds and adding their to .env file to work with apollo studio
APOLLO_KEY=...
APOLLO_GRAPH_ID=...
APOLLO_GRAPH_VARIANT=...
APOLLO_SCHEMA_REPORTING=...
docker-compose up -d
Check this URL in your .env.example it's needed correct for connecting migrations library to database
DATABASE_URL=postgres://test:test@localhost:5432/test
yarn run migrations:up
yarn run seeds:up
yarn run start:prod
yarn run start:dev
-
ADMIN:
- First name:
Kyle
- Last name:
Simpson
- Email:
k.simpson@mail.com
- Non Hashed Password:
sdpo!~[dvjfo32epfoj23
- First name:
-
TEACHER:
- First name:
Donald
- Last name:
Knuth
- Email:
d.knuth@mail.com
- Non Hashed Password:
knuth302don
- First name:
-
STUDENT:
- First name:
John
- Last name:
Doe
- Email:
j.doe@mail.com
- Non Hashed Password:
johndoe123
- First name: