Build Highly Scalable Backend with Zero Setup on NodeJS.
It all started as a problem, choosing a good architecture is a real pain and to make matter worse we have multiple options to choose from, There are around hundreds or thousands of boilerplates which are widely available and each follows a different pattern, so we have been researching and coming up with highly scalable architecture with best practices by both experience & by hands-on with top frameworks and also maintaining a good generic coding practice such as DRY, KISS, S.O.L.I.D to come up with something simple, clean framework and with support for essential stuff like User Management, Access Roles, Reset Passwords, OTP Verification, Payment Integration so that people can give priority on their use cases & problem-solving.
The goal is to make the developer's life easier so that they can focus more on centering a div. (CSS)
- Easy to Start
- Highly Scalable
- Supports all types of modern databases (TypeORM)
- Built using Typescript
- SSL / HTTPS
- 3 Layers Architecture - Routes/Controllers, Services & Repository (Data Layer)
- Clean Project Folder Structure
- Publisher Subscriber Models (Work in Progress)
- Clean Code & Easy Readability
- Write Asynchronous Code
- Configuration files and Environment Variables
- Logging & Error Handling
- Dependency Injection
- Unit Testing (Work In Progress)
NodeJS Remix uses a number of open source projects to work properly.
- Typescript
- Express
- NodeJS
- dotEnv
- CORS
- Joi
- JWT
- mySQL
- TypeORM
- TypeDI
- SocketIO
- Winston
- Twilio
NodeJS Remix requires Node.js v10+ to run.
Install the dependencies and devDependencies and start the server.
yarn
cp .example_env .env
yarn start
Note: Please setup & create a database of your choice & update Environement Variables in .env to avoid Db Connection Error.
For production release:
yarn build
- Phone Number Verification
- Email Verification
- Enable / Disable Modules with Configuration
- JWT Refresh Token Support
- Unit Testing (Test Cases)
- Publish / Subscribe using Event Emitters
- Social Logins (Google, Facebook, Apple - Sign In)
- Third Party Service Integration (Twilio, SendGrid, Slack) + Payment Integration
- Email / SMS Templates
- CRON Job Scheduling
- Version - 0.0.1
- Check the Commits for the ChangeLog
Want to contribute? Great! Feel free to raise bugs & PRs.
MIT
- https://github.com/V3N0ME/Node-Boilerplate
- https://github.com/strapi/strapi
- https://github.com/afteracademy/nodejs-backend-architecture-typescript/
- https://github.com/aaron5670/ExpressJS-SocketIO-Boilerplate
- https://scoutapm.com/blog/nodejs-architecture-and-12-best-practices-for-nodejs-development
- https://dev.to/arjhun777/video-chatting-and-screen-sharing-with-react-node-webrtc-peerjs-18fg
- https://github.com/Maheshkumar-Kakade/otp-generator#readme
- https://github.com/hagopj13/node-express-boilerplate/
- Get All Users Fix;
- Change Database name in Configuration
- Close NodeJS Gracefully