Skip to content

Exxpress.js with TypeScript, Prisma + Postgresql, Swagger, JWT Auth and Docker

Notifications You must be signed in to change notification settings

ndungtse/express-ultimate-starter

Repository files navigation

Express Ts Ultimate Starter

This is a starter project for Express.js with TypeScript. It includes the following features:

  • TypeScript
  • Express.js
  • Docker
  • Prisma + PostgreSQL
  • JWT Authentication

Getting Started

Prerequisites

  • Node.js
  • Docker (optional)
  • Docker Compose (optional)

Installation

  1. Clone the repository
git clone <this-repo-url>
  1. Install dependencies
npm install -g pnpm
pnpm install
  1. Create a .env file
cp .env.example .env

Development

  1. Start the development server
pnpm dev
  1. Open the browser and navigate to http://localhost:3000

Production

  1. Build the project
pnpm build
  1. Start the production server
pnpm start

Docker

  1. Build the Docker image
docker build -t express-ts-ultimate-starter .
  1. Run the Docker container
docker run -p 3000:3000 express-ts-ultimate-starter

About

Exxpress.js with TypeScript, Prisma + Postgresql, Swagger, JWT Auth and Docker

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published