Skip to content

Challenge 02 - Homepage of a Compass.UOL social application - FullStack Journey 2023

Notifications You must be signed in to change notification settings

camilafbarcellos/sys-compass-social

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

👥 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

About

Challenge 02 - Homepage of a Compass.UOL social application - FullStack Journey 2023

Topics

Resources

Stars

Watchers

Forks