All Projects → Vladinho10 → node-server-template

Vladinho10 / node-server-template

Licence: MIT license
This is Node.js server tidy 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 postman collections.

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects
EJS
674 projects

Projects that are alternatives of or similar to node-server-template

Tvrboreact
Dream starter project: React, Redux, React Router, Webpack
Stars: ✭ 13 (-88.79%)
Mutual labels:  mocha, mongoose, nodemailer
Node Express Mongodb Jwt Rest Api Skeleton
This is a basic API REST skeleton written on JavaScript using async/await. Great for building a starter web API for your front-end (Android, iOS, Vue, react, angular, or anything that can consume an API). Demo of frontend in VueJS here: https://github.com/davellanedam/vue-skeleton-mvp
Stars: ✭ 603 (+419.83%)
Mutual labels:  mocha, mongoose, postman
opentelemetry-ext-js
js extensions for the open-telemetry project
Stars: ✭ 122 (+5.17%)
Mutual labels:  mongoose, socket-io, sequelize
Express Mongoose Es6 Rest Api
💥 A boilerplate application for building RESTful APIs Microservice in Node.js using express and mongoose in ES6 with code coverage and JsonWebToken Authentication
Stars: ✭ 2,811 (+2323.28%)
Mutual labels:  mocha, yarn, mongoose
dhiwise-nodejs
DhiWise Node.js API generator allows you to instantly generate secure REST APIs. Just supply your database schema to DhiWise, and a fully documented CRUD APIs will be ready for consumption in a few simple clicks. The generated code is clean, scalable, and customizable.
Stars: ✭ 224 (+93.1%)
Mutual labels:  mongoose, sequelize, restful-api
TvrboReact
Dream starter project: React, Redux, React Router, Webpack
Stars: ✭ 13 (-88.79%)
Mutual labels:  mocha, mongoose, nodemailer
wily
Build Node.js APIs from the command line (Dead Project 😵)
Stars: ✭ 14 (-87.93%)
Mutual labels:  mocha, mongoose, sequelize
Hapi Starter Kit
Hapi.js based REST boilerplate which uses latest ES7/ES8 features (async/await) with code coverage and follows best pratices
Stars: ✭ 103 (-11.21%)
Mutual labels:  mocha, yarn
Feathers Vue
A boiler plate template using Feathers with Email Verification, Vue 2 with Server Side Rendering, stylus, scss, jade, babel, webpack, ES 6-8, login form, user authorization, and SEO
Stars: ✭ 195 (+68.1%)
Mutual labels:  mocha, mongoose
Nodebestpractices
✅ The Node.js best practices list (December 2021)
Stars: ✭ 72,734 (+62601.72%)
Mutual labels:  mocha, style-guide
2019-15
Catch My Mind - 웹으로 즐길 수 있는 캐치마인드
Stars: ✭ 19 (-83.62%)
Mutual labels:  socket-io, sequelize
nestjs-api-mongoose
Collection example apps with NestJS and Typeorm, Sequelize, Mongodb, PostgreSQL, MySQL, GraphQL, Mercurius, etc. for the NestJS community 😻
Stars: ✭ 153 (+31.9%)
Mutual labels:  mongoose, sequelize
dhan-gaadi
A complete online bus reservation system (Node, React, Mongo, NextJS, ReactNative)
Stars: ✭ 207 (+78.45%)
Mutual labels:  mongoose, restful-api
Typescript Restful Starter
Node.js + ExpressJS + Joi + Typeorm + Typescript + JWT + ES2015 + Clustering + Tslint + Mocha + Chai
Stars: ✭ 97 (-16.38%)
Mutual labels:  mocha, sequelize
Bombanauts
Bombanauts, inspired by the original Bomberman game, is a 3D multiplayer online battle arena (MOBA) game where players can throw bombs at each other, make boxes explode, and even other players!
Stars: ✭ 54 (-53.45%)
Mutual labels:  mocha, socket-io
koa-mongoDB
😊😊Koa and mongoose build services
Stars: ✭ 24 (-79.31%)
Mutual labels:  yarn, mongoose
seedpress-cms
A headless CMS built in Express for PostgresQL using Sequelize. Generally follows the Wordpress post and term schema.
Stars: ✭ 71 (-38.79%)
Mutual labels:  mocha, sequelize
Pharmacy-Mangment-System
👨‍💻 🏥 MEAN stack Pharmacy Management system.
Stars: ✭ 229 (+97.41%)
Mutual labels:  mongoose, nodemailer
arc
Fullstack open source Invoicing application made with MongoDB, Express, React & Nodejs (MERN)
Stars: ✭ 1,291 (+1012.93%)
Mutual labels:  mongoose, nodemailer
nuada-cli
Nuada CLI was designed to improve your development experience by using ExpressJS and Mongoose tools.
Stars: ✭ 19 (-83.62%)
Mutual labels:  yarn, mongoose

Node.js server template

Table of contents

General info

25.09.22. Updates. We create a new version of the template. It is already written in Typescript ! 12.03.21 Updates. Great news ! 🔥 ❤️
In this template every time we manually create 7 files for one CRUD logic. Now you can create your CRUD new files at once just using rest-resource-file-generator npm module made by me 🎩
Here is the link of instructions in npm rest-resource-file-generator
This is a simple Node.js server application boilerplate with CRUD operations simple logic. 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 program,
Yarn as Node.js package manager,
MongoDb as database program.
If you haven't, these are their links for installing.

Technologies

Program/lib | version | command for checking
Git | 2.37.0 | git --version
Node.js | v16.6.1 | node -v
Express | ^4.18.1 | see in app package.json
MongoDB | v4.4.5 | mongo --version
Mongoose | ^6.4.6 | see in this app package.json
Mocha | 9.1.3 | see in this app package.json
Eslint | 8.24.0 | see in this app package.json
Yarn | 1.22.19 | yarn -v

Setup

  1. Clone this repository
    git clone https://github.com/Vladinho10/node-server-template.git
  2. Fill in your git credentials (if required)
  3. Enter the downloaded directory.
    cd node-server-template
  4. Create your .env files like .env file in envs directory.

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

Style guide

We suggest our ESLint configs which are inspired by AirBnB configs. We are open to any suggestions from contributors if they are inline with our philosophy.
These ESLint configs are written and tuned for modern JavaScript development. So we don’t support old, outdated JavaScript methods, e.g. obj = new Object() this construct because we can just use const obj = {};
more

Architecture guide

The software architecture (SA) is one of the most important parts of the software development. It helps developers to easily integrate into the existing codebase. The architecture describes a set of aspects and decisions of the software.
more app-architecture

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].