Skip to content

AnweshDahal/express-ts-boilerplate

Repository files navigation

Express TS Boilerplate

Project Repository: GitHub

This project uses:

  1. Express (with TypeScript)
  2. Drizzle ORM (with PostgreSQL)

This project has been tested on Node v18.x and v20.x

It is Recommended to use the Perttier extension for a consistent layout and to avoid updating the whole file in a commit.

Database Setup

This project is setup for PostgreSQL,

A fallback for MySQL could be added in the future.

  1. Install PostgreSQL if you haven't already.
  2. If you are on a Linux system you might have to configure the server if you cannot connect to the server from places other than the psql command line. Edit the config file and uncomment the listen_address line
sudo nano /etc/postgresql/16/main/postgresql.conf

then

listen_addresses = '127.0.0.1'

Project Setup

Begin by cloning the Repository

git clone REPO_LINK

Install the dependencies

npm i

Create .env file

cp .env.example .env

And set the appropriate values

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published