Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Express + Typescript Boilerplate

A minimal boilerplate for building an Express 5 + Typescript application.

Features

  • Node 24
  • Express 5
  • TypeScript
  • Prisma + PostgreSQL setup
  • Dockerfile for production
  • Vitest, ESLint and Prettier configured

Structure

express/
├── .githooks/               # git hook scripts
├── .postgres/               # local PostgreSQL-related files
├── prisma/                  # Prisma schema and migrations
├── src/                     # application source code
│   ├── generated/           # files generated by Prisma
│   ├── controllers/         # endpoint controllers
│   ├── libs/                # shared libraries and Prisma setup
│   ├── middlewares/         # Express middlewares
│   ├── repos/               # data access layer
│   ├── routes/              # application routes
│   ├── services/            # business logic
│   ├── settings/            # application settings and config
│   ├── types/               # shared project types
│   ├── utils/               # useful helper functions
│   ├── app.ts               # Express app setup
│   └── index.ts             # application entrypoint
├── docker-compose.yml       # local development services
├── docker-compose.build.yml # build-oriented compose file
├── Dockerfile               # container image definition
├── Makefile                 # common development commands
└── package.json             # scripts and dependencies

Getting Started

Use the Makefile to see the available local development commands:

make help

Common commands:

make up      # start local docker services
make run     # run the application in development mode
make test    # run tests
make down    # stop and remove local docker services

License

Please see LICENSE file.

About

express + typescript restful api boilerplate

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages