{"repo":"jatindotdev/express-drizzle-postgres-starter","free":true,"listed":false,"github":"https://github.com/jatindotdev/express-drizzle-postgres-starter","clone":"git clone https://github.com/jatindotdev/express-drizzle-postgres-starter.git","description":"A opinionated starter template for building REST APIs with Express, Drizzle ORM and PostgreSQL.","language":"TypeScript","stars":75,"topics":["aws","aws-ses","drizzle","express","nodejs","postgres","starter","template"],"license":"MIT","category":"saas-starters-boilerplates","readme_excerpt":"Express-Drizzle-PostgreSQL-Starter A opinionated starter template for building REST APIs with Express, Drizzle ORM and PostgreSQL. Features - [x] User registration - [x] User verification via email - [x] User deletion - [x] Admin routes API Documentation GET /user Returns the user. Requires AUTH TOKEN in the request header. PUT /user/update Updates the user. Requires AUTH TOKEN in the request header. User can only update themselves. Properties that can be updated are name , email and password . if email is updated, the user will be unverified and a new verification email will be sent. POST /user/create Creates a new user. Requires name , email and password in the request body. GET /user/verify Verifies the user. Requires token and email in the query string. DELETE /user/remove Removes the user. Requires AUTH TOKEN in the request header. A user can only remove themselves. A admin can remove any user. POST /user/login Logs in the user. Requires email and password in the request body. GET /admin/all-users Returns all users. It is an admin route, requires AUTH TOKEN . GET /admin/all-verfied-users Returns all verified users. It is an admin route, requires AUTH TOKEN . DELETE /admin/remove-unverified-users Removes all unverified users. It is an admin route, requires AUTH TOKEN . Running the app Install the dependencies Run the development server: Built with - Express - PostgreSQL - drizzle-orm - Zod - drizzle-zod - TypeScript - react-email - AWS SDK","default_branch":null,"files":null,"tree":[],"storefront":"/r/jatindotdev","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jatindotdev/express-drizzle-postgres-starter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}