Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/raedaddala/nodejs-prisma-graphql-example

Example made with Node.js, Prisma, GraphQL
https://github.com/raedaddala/nodejs-prisma-graphql-example

graphql nodejs orm prisma typescript

Last synced: about 2 months ago
JSON representation

Example made with Node.js, Prisma, GraphQL

Awesome Lists containing this project

README

        

# NodeJs-Prisma-GraphQL-Example

Example made with NodeJs, Prisma, GraphQL for a Course Lab.

## How to build this project

- start database server: `docker-compose up`
- create the `.env` file and copy its content from the `.env.example` and change the placeholders.
- install packages: `npm install`.
- start prisma: `npx prisma generate`.
- commit prisma migration: `npx prisma migrate dev`.
- apply prisma seed: `npx prisma db seed`.
- Run the server: `npm run dev`.