https://github.com/nbaua/prisma-nexus-paljs-api
Prisma and Nexus API project with PalJS library helpers.
https://github.com/nbaua/prisma-nexus-paljs-api
api api-client graphql javascript nexus paljs prisma prisma2 rest-api typescript
Last synced: 7 months ago
JSON representation
Prisma and Nexus API project with PalJS library helpers.
- Host: GitHub
- URL: https://github.com/nbaua/prisma-nexus-paljs-api
- Owner: nbaua
- Created: 2021-06-07T06:52:10.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-06-07T07:57:32.000Z (over 4 years ago)
- Last Synced: 2025-01-14T18:43:05.630Z (9 months ago)
- Topics: api, api-client, graphql, javascript, nexus, paljs, prisma, prisma2, rest-api, typescript
- Language: TypeScript
- Homepage:
- Size: 36.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PRISMA NEXUS AND PALJS API PROJECT
PalJs is a set of tools to help us with NodeJS, Prisma, GraphQL and React projects.
Find more info on https://paljs.com/## For DB Setup
Added `sqlite` as db provider in `schema.prisma` you can change it to your custom db provider
after an update your `schema.prisma` run
```shell
yarn create-migration
yarn migrate-database
```this commands will save your schema into db
now run
```shell
yarn generate
pal g
yarn dev
```
## Run Application- build prisma client
- build crud system
- start dev server[Quick Tutorial](https://github.com/nbaua/prisma-nexus-paljs-api/blob/master/tutorial/tutorial.MD)