Building a website where I can post anything I want and read what people write .
- I'd want to see all posts display in home page.
- I'd want to see log in and sgin up buttons.
- I'd click on log in or sgin up , I will see pop up and i can enter my information to join the website .
- I'd want to add posts.
- I'd want delete my own posts.
- I'd want like posts .
- User can sign up
- User can login
- User don't need to be logged in to view the website, however you need to be logged in to post and like .
-
User should see all posts on the home page, ranked in descending order by likes.
-
User need to be logged in to add post . add post form will appear after the user loggid in.
- User should be able delete thier own posts.
- Posts render by likes
- User can make only one like
- Each post has a creation time
- Clone repo
https://github.com/GSG-G11/mayar-reddit.git - Change your current directory
$ cd ./mayar-reddit - Run
npm ito install dependencies. - Run
npm run devto start the project in the localhost. - Connetct
build.sqlto your own shell,to build the database. - you need to add your own
.envfile as mentioned in.example.env - Run
npm run testto run tests
- HTML
- CSS
- JS
- express
- jest
- node.js




