GraphQL API/server module for rentX application.
Check the mobile app repo here.
Developed using
$ git clone https://github.com/aadelgrossi/rentx-api.git
Rename .env.example to .env and u
$ mv .env.example .env
Update the environment variables to match your PG instance config (example is previously filled with defaults)
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_DB=rentx
DB_HOST=localhost
DB_PORT=5432
DB_SCHEMA=public
$ yarn install
$ yarn prisma:migrate
$ yarn seed
$ yarn start:dev
GraphQL playground will be available at http://localhost:3333/graphql