Umar-Reddit ©️
- 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.
> Git Work Flow
> npm
> Jest
> HTML5
> CSS3
> Java Script (JS)
> NodeJS
> ExpressJS
> API
> Herouku
> PostgressSQL
- Create my Repository
- Write main issues
- Finish issue and create another .
🚀
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 .
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
- 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