Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/paljs/prisma-tools

Prisma tools to help you generate CRUD system for GraphQL servers
https://github.com/paljs/prisma-tools

apollo crud graphql-modules graphql-schema graphql-server nexus-framework prisma prisma-admin prisma-client prisma-framework sdl typescript

Last synced: about 2 months ago
JSON representation

Prisma tools to help you generate CRUD system for GraphQL servers

Awesome Lists containing this project

README

        

![header](/header.png)

## Quick Start

Pal.js I am your friend in your next NodeJS, Prisma, GraphQL, React project

## Install tools

To install `@paljs/cli` on your machine you need to have the following tools installed:

- Git -
- Node.js - Please note the **version** should be **>=12**
- Yarn - Node.js package manager, comes with Node.js.
- Prisma - [CLI](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-cli/installation) Modern Database Access for TypeScript & Node.js

## Install PalJS CLI

This command installs PalJS CLI globally on your machine.

```shell
yarn global add @paljs/cli
//or
npm install -g @paljs/cli
// or use npx to create new project direct
npx @paljs/cli create
```

## Create a new

```shell
> npx @paljs/cli create

.______ ___ __ __ _______.
| _ \ / \ | | | | / |
| |_) | / ^ \ | | | | | (----`
| ___/ / /_\ \ | | .--. | | \ \
| | / _____ \ | `----.| `--' | .----) |
| _| /__/ \__\ |_______| \______/ |_______/

✔ Please select your start example · full-stack-nextjs
❯ full-stack-nextjs
full-stack-gatsbyjs
apollo-nexus-schema
apollo-sdl-first
graphql-modules
✔ Please select your start framework · Tailwind CSS + PrismaAdmin UI
Material UI
Material UI + PrismaAdmin UI
Tailwind CSS
❯ Tailwind CSS + PrismaAdmin UI
✔ Use multi schema template …
❯ no
yes
✔ please enter your project name · great-project
✔ please enter your project description · new NodeJs Prisma GraphQL TypeScript project
✔ please enter your project author · Ahmed Elywa
✔ please enter your project repository · https://github.com/paljs/prisma-tools
✔ Do you need to use Git …
❯ yes
no
✔ please select your package manager · yarn
❯ yarn
npm

✔ Skip package installation · no
❯ yes
no
```

Will get 7 questions to help cli create what you want.

Look to our examples contains [here](https://paljs.com/cli/create#starter-examples)

## Get your project up

1 Go inside your project dir

```shell
cd hello
```

Open `README.md` file to see next steps.

To build your `schema.prisma` file look [here](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-schema)

### Have questions?

Didn't find something here? Look through the [issues](https://github.com/paljs/prisma-tools/issues) or simply drop us a line at .