Skip to content

Latest commit

Β 

History

History
50 lines (38 loc) Β· 1.39 KB

File metadata and controls

50 lines (38 loc) Β· 1.39 KB

Express TypeScript Template

A modern Express.js template with TypeScript, featuring:

Prerequisites

  • Node.js
  • PostgreSQL

Getting Started

  1. Clone the repository
  2. Copy .env.example to .env.local and configure your environment variables
  3. Install dependencies:
    npm install
  4. Push drizzle database schema;
    npm run db:push
  5. Start development server;
    npm run dev
  6. Visit localhost:8000/docs to view api docs.
  7. Create and query posts from api docs.

Database

This template uses Drizzle ORM with PostgreSQL. Configure your database connection in the .env.local file.

Licence

MIT

Created By

Jesse Ajioh