• Stars
    star
    671
  • Rank 65,029 (Top 2 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created about 4 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Prisma tools to help you generate CRUD system for GraphQL servers

header

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:

Install PalJS CLI

This command installs PalJS CLI globally on your machine.

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

> 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

Get your project up

1 Go inside your project dir

cd hello

Open README.md file to see next steps.

To build your schema.prisma file look here

Have questions?

Didn't find something here? Look through the issues or simply drop us a line at [email protected].