A production-ready Node.js starter template with authentication, KYC APIs, Passport.js, and essential services like cron jobs, OTP, email sending, and file uploads.
- Authentication (JWT-based with Passport.js)
- KYC APIs (User verification & onboarding)
- Contact Us API (Submit inquiries & feedback)
- Cron Jobs (Automate scheduled tasks)
- OTP Service (Generate & verify OTPs)
- Email Service (Send emails via SMTP)
- File Uploads (Upload and manage files via cloud/local storage)
- Backend: Node.js (Express.js)
- Authentication: Passport.js (JWT)
- Database: MongoDB
- Storage: Local / AWS S3 (Configurable)
- Email: Nodemailer / SMTP
- Cron Jobs: node-cron
git clone https://github.com/NodeJs-Best-Starter-Template.git
cd NodeJs-Best-Starter-Templatenpm install Rename .env.example to .env and update the necessary values.
cp .env.example .env npm run dev - Signup:
- Login:
- JWT-based Authentication with Passport.js
- Upload Documents
- Verify User Identity
- Submit inquiries & messages
- Automate scheduled tasks using node-cron
- Send transactional emails using SMTP
- Upload files to local storage / AWS S3
- Express.js - Web framework
- MongoDB - Database
- Passport.js - Authentication
- node-cron - Cron jobs
- Nodemailer - Email service
- Add rate limiting for APIs
- WebSockets for real-time notifications
- Two-Factor Authentication (2FA)
Feel free to submit issues and pull requests!