Challenge 02 – System Compass
Week 8 • FullStack Journey • Compass UOL • 2023
About • Features • Technologies • Setup • Issues • Screenshots
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
- 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
- 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
- Instead of
npm start
, runnpm 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
- 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