Skip to content

Latest commit

History

History
65 lines (43 loc) 路 2.58 KB

File metadata and controls

65 lines (43 loc) 路 2.58 KB

node-boilerplate

Hits-of-Code StackShare GitHub

馃審馃殌 A Node.js boilerplate with RESTful, GraphQL, Prisma, PostgreSQL and awesome tools.

Features

  • Using ESNext
  • Setup Babel, ESLint, Prettier, Ava and Husky.
  • Having Basic authentication and authorization.
  • Setup a basic RESTful API.
  • Integrating Graphql.
  • Using Prisma and PostgreSQL.

Stack

Stack

Prepare

How to use?

Step 1: Clone this project and remove .git folder

$ git clone https://github.com/cuongw/node-boilerplate.git
$ cd node-boilerplate && rm -rf .git

Step 2: Launch Prisma and the connected database

$ sudo docker-compose up -d

Step 3: Deploy the Prisma datamodel and generate Prisma client

$ yarn prisma:deploy

Step 4: Install dependencies and run the project

$ yarn
$ yarn start:dev

馃檶 Awesome

Contributors

License

MIT 漏 cuongw