GraphQL API
- Run npm install
- Create a
.envfile in the root folder of the project, and fill with environment variables. Check the.env.examplefile as guide. - Create another
.envfile in theprismafolder. Equally check theprisma/.env.examplefile as guide for the content. - Run the command
npx prisma migrate up --experimentalto create a local database using the infos set in theprisma/.envfile. - Run the command
npx ts-node prisma/seed.tsto fill your database with initial data. - Run the command
npm run devto start your local GraphQL server. - Open the GraphQL playground in your browser at the address: http://localhost:4000