A modern Express.js API with TypeScript, Zod validation, and beautiful Scalar documentation
Explore our interactive API documentation powered by Scalar. Test endpoints, view schemas, and see examples.
View API DocsDownload the complete OpenAPI 3.0 specification for integration with other tools and services.
Download SpecGet started with this API template in minutes:
# Clone the repository
git clone <your-repo-url>
cd express-api-template
# Install dependencies
npm install
# Set up environment variables
cp .env.example .env
# Edit .env with your database URL and other settings
# Run database migrations
npx prisma migrate dev
# Start development server
npm run dev
Current API endpoints available in this template:
Full type safety with TypeScript and Zod schema validation
Automatically generated OpenAPI documentation with Scalar
Built-in security with Helmet, CORS, and rate limiting
Prisma ORM for type-safe database operations
Request/response validation with detailed error messages
Logging, error handling, and performance optimizations
Ready to extend this API? Check out the README.md for detailed guides on:
Built with ❤️ using Express.js, TypeScript, and Scalar • View on GitHub