/odin-book-server

API for odin-book

Primary LanguageTypeScript

Server side for Odin Book project

Small server side implementation of Odin Book, a project aiming at replicating Facebook functionality, mainly handling posts, commments, user authentication, friends system.

This project is inspired by The Odin Project.

It uses:

  1. bcryptjs - for password encryption;
  2. dotenv - for sensitive info storage;
  3. jsonwebtoken and PassportJS - for authorization;
  4. Mongoose - for database communication;
  5. Multer - for working with image uploads;

For its dev dependencies:

  1. MongoDB-memory-server - temporary mongodb for testing;
  2. Supertest;

Features

  • Only authorized users can access;
  • Users can create posts;
  • Users can comment on others posts;
  • Users can like others posts;
  • Users can upload their profile picture;