Projectย ย ย |ย ย ย Seedsย ย ย |ย ย ย Examplesย ย ย |ย ย ย Coverageย ย ย |ย ย ย Technologies
A GraphQL API created using NodeJS, Apollo Server and PostgreSQL to manage TODOS
When you start the project, some seeds are going to execute and create a user and todos as example:
email: [email protected]
password: example@123
So you can use this user to authenticate and test the functionalities.
OBS: Please don't forget to get one JWT token using this example and the credentials above;
mutation Authentication($email: String!, $password: String! ){ login(email: $email, password: $password) }
Coverage example using JEST
yarn test
ornpm run test
This project was developed using:
- Download the project
- Update the .env with your settings
yarn
to install the dependenciesyarn start:dev
to start the project with your own postgresql databaseyarn start:compose
to start the project using the docker-compose.yml file