Bike is a template for creating typical backend applications in Node.js.
It's basically a Web framework, but all of its parts are simple and swappable
This template is just a preset. You are encouraged to dig into the configuration files and modify them to suit your
needs. Most of the configuration happens in app.ts file and inside lib directory
If you think something else should be added to this template feel free to create an issue or submit a pull request
This project uses
- Typescript
- Serves API endpoints with Express
- Stores data in MongoDB using mongoose
- Manages authentication using Passport.js with passport-local strategy
- Runs cron jobs with node-cron
- Renders emails using Handlebars.js and sends them with Nodemailer
- Supports server side rendering using Express Handlebars
All components are easily swappable, so if you, for example, want to use an SQL database, just swap mongoose
with sequelize or any other DB manager.
You can find information about swapping some components inside docs/3. Swapping components
This project runs on Windows, Linux and probably MacOS
You can find more information about developing with this template in docs directory