REPOSITORY OVERVIEWLive repository statistics
★ 7Stars
⑂ 2Forks
◯ 0Open issues
◉ 7Watchers
62/100
OPENREPOHUB HEALTH SIGNALMixed signals
A transparent discovery signal based on current public GitHub metadata.
Recent activity35% weight
72 Community adoption25% weight
15 Maintenance state20% weight
100 License clarity10% weight
100 Project information10% weight
35 This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
README preview
Express BetterAuth Starter Template
Current version 1.3.6 - A a production-ready REST API server built with Express.js using Better-Auth, Kysely with PostgreSQL and Typescript.
Overview
Express-BetterAuth-Boilerplate is a production-ready REST API server built with Express and TypeScript. It provides a complete authentication foundation (email/password, email verification, password reset) via Better-Auth, backed by PostgreSQL with Kysely as the query builder. The boilerplate is designed to be cloned and extended, API routes are intentionally empty, while all cross-cutting concerns (auth, logging, rate limiting, validation, error handling) are pre-wired.
This project is being created to provide a template for me and others to quickly set up a backend server in Express.js applications to avoid having to rewrite the same code for every project, to help focus on the unique features of the application and not have to worry about the authentication.
Documentation
| Document | Description |
|---|
| Architecture | Project structure, request lifecycle, middleware stack, logging, validation, and response format |
| Authentication | Better-Auth configuration, password policy, rate limits, email flows, and user fields |
| Environment | All environment variables, and validation |
| Deployment | Docker setup, dev and prod compose |
Features
- TypeScript for type safety and better development experience.
- User registration and login with Better-Auth.
- Password reset functionality.
- Email verification for new users.
- Protected routes that require authentication or specific user roles.
- PostgreSQL database management with Kysely.
- Logging with Winston.
- File logging, log rotation, and different log levels (info, warn, error).
- Custom log format that includes timestamps, log levels, and messages.
- HTTP request logging with morgan integrated into Winston.
- Logs all incoming HTTP requests with method, URL, status code, response time, IP, agent, userID and custom UUID for each request for better traceability between logs.
ALGORITHMICALLY RELATEDSimilar Open-Source Projects
Selected from shared topics, language and repository description—not editorial ratings.
A well-structured production ready Next.js boilerplate with Typescript, Redux, Jest, Enzyme, Express.js, Sass, Css, EnvConfig, Fetch, Reverse Proxy, Bundle Analyzer and Built-in Project CLI. https://pankod.github.io/next-boilerplate/
85/100 healthRecently updatedActive repository
TypeScriptMIT#babel#boilerplate#nextjs#nextjs-template
⑂ 275 forks◯ 38 issuesUpdated 1 day ago
A Next.js + Ethereum starter kit with Viem, Wagmi, Web3Modal, SIWE, Tailwind, daisyUI and more to quickly ship production-ready Web3 Apps ⚡
89/100 healthRecently updatedActive repositoryHas homepage
TypeScriptMIT#chakra-ui#ethereum#nextjs#solidity
⑂ 154 forks◯ 4 issuesUpdated 9 days ago
Project homepage ↗