๐ A modern, production-ready Express 5 template with many features included to quickly build REST APIs
Note
This project is inspired by the great node-express-boilerplate repository
Just run the following command on an empty project and everything will be setup for you
npx modern-express-template
You can also click on the Use this template โพ button to create a new repository from this template
Important
If you use this button, your repository will have text generated from template, which may be undesirable
Use this section as documentation to learn the project structure and approaches for building your REST APIs
- ๐ Directory structure
- ๐๏ธ TypeScript support
- ๐ Swagger documentation
- ๐ Request validation with Zod
- ๐ฎ Standardization of responses with JSend
- โป๏ธ Type-safe environment variables
- ๐พ Database access with Drizzle ORM
- ๐งฏ Global and local error handling
- ๐ท๏ธ API versioning
- ๐งช Tests
- ๐ฌ Logging
- ๐ CORS
- ๐ Code format with Prettier and ESLint
- ๐ Deployment