Skip to content

Latest commit

 

History

History
81 lines (58 loc) · 1.82 KB

README.md

File metadata and controls

81 lines (58 loc) · 1.82 KB

Umar-Reddit

🏷️ Site URL

Umar-Reddit ©️


🅰️ User Story

  • User can see all posts on the home page.
  • User can sign up and login.
  • User don't need to be logged to view the posts,but need to be logged in to post and comment.
  • User can be able to create a comment on a Post
  • User can delete thier own posts.
  • User can click on a Create Post button and see a popup to create a new Post.
  • User can see his own profile.

🔤 Tech Used

> Git Work Flow
> npm 
> Jest
> HTML5
> CSS3
> Java Script (JS)
> NodeJS
> ExpressJS
> API
> Herouku
> PostgressSQL

📝 Work flow

Step 1: Create Repository

  • Create my Repository
  • Write main issues
  • Finish issue and create another .

🚀

Step 2: Create Server

first i install the dependencies and devDependencies i want to use in my project then i Created NodeJs Express server

I used axios in the dependencies insted of node-fetch because the API (reabid API) i deal with .

Step 3: Creat Database

When i study the main site that i want to clone it i found there is 3 tables i want to work with :

Table PK
Users userId
Posts postId
Comments commentId

📌 Want to design your schema like this ? ➜ DRAWSQL

  • Creat Database Schema
  • Connect the database with the Express Server
  • Creat the build.js file to build the database

🏨 Runnig the project locally

- git clone https://github.com/GSG-G10/Umar-Reddit.git
- cd Umar-Reddit
- npm i
- Call Me to have the .env file :p
- npm start