First, you need to clone de graphql-auth-example project:
git clone git@github.com:caioflores/graphql-auth-example.gitInstall dependecies:
yarnThan create a .env file in the root folder with these variables (values are examples):
PG_USERNAME=postgres
PG_PASSWORD=1234
PG_DATABASE=test_database
PG_HOST=localhost
PG_PORT=5432
ENVIRONMENT=development
API_SECRET=BwdwtN%h6%FL05GrtFGNow you can create the database and run the project:
./node_modules/.bin/sequelize db:create
yarn startThat's it. Your project is running in http://localhost:3000/test