This repository hosts the ExpressJS backend for Baddit.life, a Reddit clone. The backend is implemented with ExpressJS and utilizes PassportJS for session authentication. Redis is employed as the session store, offering efficient session management. Data is stored in PostgreSQL for reliable and scalable storage capabilities.
TBA
Install with npm:
-
Clone the project
-
Navigate into project directory and install dependencies
npm install
-
Create
.env
file in project root following.env.example
-
Build and start the project
npm run build
npm run start