Skip to content

GSG-G11/mayar-reddit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reddit Clone

Links 🖇

Database schema

Purpose

Building a website where I can post anything I want and read what people write .

User journey

  • 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 Stories

  • 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.

Stretch Goals ⚡

  • Posts render by likes
  • User can make only one like
  • Each post has a creation time

clone-it

  • Clone repo https://github.com/GSG-G11/mayar-reddit.git
  • Change your current directory $ cd ./mayar-reddit
  • Run npm i to install dependencies.
  • Run npm run dev to start the project in the localhost.
  • Connetct build.sql to your own shell,to build the database.
  • you need to add your own .env file as mentioned in .example.env
  • Run npm run test to run tests

tech-stack

  • HTML
  • CSS
  • JS
  • express
  • jest
  • node.js

Done-By:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published