Skip to content

Latest commit

 

History

History
47 lines (37 loc) · 3.1 KB

README.md

File metadata and controls

47 lines (37 loc) · 3.1 KB

👥 Sys Compass Social

Challenge 02 – System Compass

Week 8 • FullStack Journey • Compass UOL • 2023

📑 Table of Contents

ℹ️ About The App

Homepage of a Compass.UOL social application focused on creating and viewing posts. The project follows a Figma project with JSON data fetched and consumed by a simple API

✔️ Features

  • Login page capable of authorizing registered users to the homepage by browser session storage
  • Unique homepage for each user capable of rendering all posts in the timeline and the friends list
    • Unique stands for showing the proper data of the logged user (name and friends list that doesn't include himself)
  • API with 2 GET routes, /users and /posts, that returns the list of users and the posts of each user
    • No database has been used yet, so all the data is provided by the API and resides in a JSON file
    • JSON data retrieved by fetch API
  • Uses the Lorem Picsum API to generate random pictures used in homepage
  • Home page allows adding new posts via "add post" input (only visually, doesn't persist to the JSON of posts)
  • Home page allows dinamically liking and disliking posts, with visual (color/text) impact and dinamic number of likes

⚙️ Technologies

TypeScript logo ReactJS logo ReactRouter logo NodeJS logo ExpressJS logo

🚀 Setup

  • Download or clone the repository
  • In the project directory, run npm install to download all dependencies
  • Run npm start to run the application locally at localhost:3000 and the API at localhost:9000

Development context

  • Instead of npm start, run npm run dev to run the application locally at localhost:3000 and the API at localhost:9000
  • Both frontend application and backend API will automatically synchronize any changes in the source-code due to nodemon

❗ Know Issues

  • Signup page is not functional and doesn't actually persists data to the JSON of users
  • Home page without CSS layout responsiveness
  • Mostly home page buttons are purely visual and not functional

📸 Screenshots

Homepage initial Homepage scrolled