Skip to content

This is Node.js server template / boilerplate with Express (with asyncified handlers, custom error handler ) framework and MongoDb. The server use ES6 and above. On different branches you can see different techniques' and technologies' usage, such as Kafka, nodemailer, file download... You also can find a postman collections.

Notifications You must be signed in to change notification settings

AutomationsLBS/node-server-template-1

 
 

Repository files navigation

Node.js server template

Table of contents

General info

This is a simple Node.js server application boilerplate with CRUD operations. It provides REST APIs. Before using it, please ensure that you've already installed the following programs
Git as version control,
Node.js as server app,
Yarn as Node.js package manager,
MongoDb as database programs.
If you haven't, these are their links for installing

Technologies

Program/lib | version | command for checking
Git | 2.24.0 | git --version
Node.js | v12.15.0 | node -v
Express | ^4.17.1 | see in this app package.json
MongoDB | v4.2.1 | mongo --version
Mongoose | ^5.7.13 | see in this app package.json
Mocha | 6.2.2 | see in this app package.json
Yarn | 1.19.1 | yarn -v

Setup

  1. At first clone this repository
    git clone https://github.com/Vladinho10/node-server-template.git
  2. After it you should write your git credentials (if it needs)
  3. enter downloaded directory
    cd node-server-template
  4. create your .env file like .env.simple file

for npm

  • install packages
    npm i
  • run server
    npm run start or
    npm start
  • if you want your server stay always running
    npm run nodemon

for yarn

  • install packages
    yarn
  • run server
    yarn run start or
    yarn start
  • if you want your server stay always running
    yarn run nodemon or
    yarn nodemon

Style guide

We are inspired from Airbnb eslint configurations. We suggest eslint config our version, and we'd love to accept any suggestions about the code style which is in line with our philosophy ))
more

Architecture guide

Coming soon !
more

<menk ogtagorcum enq miayn ardiakan u voch hnacac caser, usti grel enq mian dranc masin> <chenq grum kich ogtagorcvox kam chogtagorcvox methodnery <chenq ogtagorcum custom toSring, new Object,>

About

This is Node.js server template / boilerplate with Express (with asyncified handlers, custom error handler ) framework and MongoDb. The server use ES6 and above. On different branches you can see different techniques' and technologies' usage, such as Kafka, nodemailer, file download... You also can find a postman collections.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%