Giter VIP home page Giter VIP logo

matiullah-karimi / node-express-starter Goto Github PK

View Code? Open in Web Editor NEW
22.0 3.0 8.0 63 KB

A Dockerized Node-Express starter project that includes authentication, authorization, file upload, user management and role management.

JavaScript 93.54% CSS 0.35% Pug 0.87% Makefile 3.12% HTML 2.12%
nodejs expressjs jwt-authentication passport jwt express starter node-starter-kit starter-kit file-upload

node-express-starter's Introduction

node-express-starter

A Dockerized Node-Express starter project that includes authentication, authorization, file upload, user management and role management.

Setup

Copy env file

cp .env.example .env

Running with Docker

docker-compose build
docker-compose up

Running with Nodemon

npm i -g nodemon
npm install
nodemon bin/www

Test

npm run test

Seed

npm run seed

API Endpoints

POST /api/login
GET /api/roles

POST /api/users
GET /api/users
GET /api/users/:id
PUT /api/users/:id
DELETE /api/users/:id


POST /api/file-upload
GET /api/file-upload/:id
DELETE /api/file-upload/:id

Third Party Packages

  • Passport
  • passport-jwt
  • passport-local
  • jsonwebtokens
  • mongoose
  • multer
  • loadash
  • bcrypt
  • joi
  • faker
  • dotenv

node-express-starter's People

Contributors

matiullah-karimi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.