Express Drizzle Postgres Starter screenshot

Express Drizzle Postgres Starter

Author Avatar Theme by Jatindotdev
Updated: 14 May 2024
75 Stars

A opinionated starter template for building REST APIs with Express, Drizzle ORM and PostgreSQL.

Categories

Overview

The Express-Drizzle-PostgreSQL-Starter is a thoughtfully crafted starter template designed for developers looking to build REST APIs with ease. By leveraging the powerful combination of Express, Drizzle ORM, and PostgreSQL, this starter kit simplifies the process of setting up user authentication and administrative functionalities. It is especially beneficial for developers looking to kickstart their projects with a focused approach, as it streamlines common tasks such as user registration, verification, and management.

This template stands out due to its opinionated structure, which guides developers towards best practices while allowing the flexibility to customize it as needed. With built-in routes and a clear API documentation, getting up and running becomes a straightforward task for both novice and experienced developers alike.

Features

  • User Registration: Easily create new user accounts with required fields such as name, email, and password.
  • User Verification via Email: Ensure users verify their accounts through a token sent to their email, adding an extra layer of security.
  • User Deletion: Users can remove their own accounts, while admins have the capability to remove any user.
  • Admin Routes: Special routes for administrators, allowing them to access all users and manage verified and unverified accounts.
  • API Documentation: Clear and concise documentation for API endpoints, making integration simple and intuitive.
  • Authorization Requirement: Routes that require an AUTH_TOKEN ensure that sensitive actions are protected from unauthorized access.
  • TypeScript Support: Written in TypeScript, providing type safety and enhancing code reliability for developers.
  • React Email Integration: Leveraging react-email for efficient email handling, simplifying the process of sending verification and notification emails.