This is a starter project for Express.js with TypeScript. It includes the following features:
- TypeScript
- Express.js
- Docker
- Prisma + PostgreSQL
- JWT Authentication
- Node.js
- Docker (optional)
- Docker Compose (optional)
- Clone the repository
git clone <this-repo-url>
- Install dependencies
npm install -g pnpm
pnpm install
- Create a
.env
file
cp .env.example .env
- Start the development server
pnpm dev
- Open the browser and navigate to
http://localhost:3000
- Build the project
pnpm build
- Start the production server
pnpm start
- Build the Docker image
docker build -t express-ts-ultimate-starter .
- Run the Docker container
docker run -p 3000:3000 express-ts-ultimate-starter