Project Repository: GitHub
This project uses:
- Express (with TypeScript)
- 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.
This project is setup for PostgreSQL,
A fallback for MySQL could be added in the future.
- Install PostgreSQL if you haven't already.
- 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'
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