Skip to content

ShahadAltuwijry/W08D4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic Social Media project

In this project I worked on a full social media crud operation, users can read all posts & post thier own posts but no one can delete or update other users posts or comments. Only admin can delete any Post, Comment or even a whole User. Each post can have comments and likes.

Project UML Diagram

Untitled Diagram drawio (2)

Project ER Diagram

Untitled Diagram drawio (3)

Registration & login Authentication

This project will help you set the basic steps for authenticating users securely useing:

  • json web token
  • bcrypt.

Cloneing this repostry

First thing you need to do is clone this repository to use it as a base to bulid the rest of your project on:

git clone https://github.com/ShahadAltuwijry/W08D02.git

Starting & Downloading main packages

after cloning the repository, you have to download the packages used in this project, by pasting this in your terminal:

npm i

already have your own schemas and just need the Authenticating part? you only need to:

Download needed packages for Hashing & Authenticating

  • Downloading bcrypt: npm i bycrypt

  • Downloading json web token: npm i jsonwebtoken

Documentation that might help you

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published