Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 18 days ago
JSON representation
Example made with Node.js, Prisma, GraphQL
- Host: GitHub
- URL: https://github.com/raedaddala/nodejs-prisma-graphql-example
- Owner: RaedAddala
- License: mit
- Created: 2024-05-11T09:24:34.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2024-05-11T10:44:13.000Z (9 months ago)
- Last Synced: 2024-11-23T06:26:58.583Z (3 months ago)
- Topics: graphql, nodejs, orm, prisma, typescript
- Language: TypeScript
- Homepage:
- Size: 41 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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`.