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

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.

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)