A backend API built using Nodejs and TypeScript that recreates all of Reddit's basic backend functionality.
- Learning how to build backend systems that scale and are maintainable.
- Familiarizing myself with TypeScript usage.
- Geting better at designing and implementing complex database schemas in Relational Databases.
Clone the repository locally and follow these instructions:
- Make a
.envfile based off of the template provided insample.env. - Edit the values in
ormconfig.jsonto suit your database connection. - Install node modules using
npm install - Run the code using
npm run dev
- Comment under Comments (infinite sub-commenting)
- JWT for Authentication
- Create Users
- Create Communities
- Create Posts
- Comment under Posts
- Upvote/Downvote Comments
- Upvote/Downvote Posts
- Documentation using OpenAPI (Swagger)