Skip to content

πŸŒŒπŸš€ A Node.js boilerplate with RESTful, Prisma, PostgreSQL and awesome tools.

License

Notifications You must be signed in to change notification settings

cuongndc9/node-rest-boilerplate

Repository files navigation

node-rest-boilerplate

Hits-of-Code GitHub

πŸŒπŸš€ A Node.js boilerplate with RESTful, 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.
  • Using Prisma and PostgreSQL.

Prepare

How to use?

Step 1: Clone this project and remove .git folder

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

Step 2: Create .env file

Please follow .env.example file.

Step 3: Launch Prisma and the connected database

$ sudo docker-compose up -d

Step 4: Deploy the Prisma datamodel and generate Prisma client

$ yarn prisma:deploy

Step 5: Install dependencies and run the project

$ yarn
$ yarn start:dev

πŸ™Œ Awesome

License

MIT Β© cuongw

About

πŸŒŒπŸš€ A Node.js boilerplate with RESTful, Prisma, PostgreSQL and awesome tools.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published