express-boilerplate
is a highly flexible Express boilerplate that integrates essential database connectivity, authentication, and OpenAPI validation. It incorporates a lightweight logger using pino and adopts Prisma as a type-safe ORM.
-
Install dependencies:
npm install
-
Configure ORM and OpenAPI:
npm run prisma npm run openapi
-
Start the server:
npm run start
This server is designed to be deployed behind a trusted authentication proxy. It expects to receive JWTs as Bearer tokens from the authentication proxy for authentication purposes.
We welcome contributions! If you'd like to contribute to the project, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and ensure the code follows the project's coding standards.
- Test your changes thoroughly.
- Submit a pull request, describing the changes and any considerations for reviewers.
Let's build and improve express-boilerplate
together!