basic-backend-setup
v1.0.9
Published
"A basic Node.js and express server setup with mongodb connectivity ans sample routes"
Downloads
15
Readme
basic-backend-setup
A utility for setting up a basic backend server with Node.js and Express, incorporating MySQL database connectivity and using ORM Sequelize. This package also includes better loggers for status codes and sets up directories following the MVC pattern for a REST API.
Prerequisites
- Node.js version >= 10
Installation
- first initialize the project
npm init
- install the package
npm install basic-backend-setup
- copy the directories and files
node node_modules/basic-backend-setup/copy-templates.js
- setup the .env file accordingly
- start the server
npm start
Features
- Quick and easy setup for a basic backend server.
- Default configurations for Node.js version >= 10.
- MySQL database connectivity with ORM Sequelize.
- Better loggers for status codes.
- Directory structure following the MVC pattern for a REST API.
GitHub Repository
Find the source code on GitHub: GitHub Repository