Skip to content

estefaniaderosa/blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

✨ Demo

estefaniaderosa.github.io/blog

📓 BLOG APP

Simple app that simulates a blog where the user can add , edit and delete posts. The posts displayed are random paragraphs and titles generated with Random Paragraph. There's also a Profile page where the user can choose a random image for the avatar.

For this project I used Mobx for the first time to manage the global state of the app. If the user adds or deletes a post, there is a posts counter that will display the current amount. Everytime the user adds a post an ID is generated using UUIDv4. To navigate between pages I used React Router DOM. I used Axios to fetch the data from the Unsplash API to generate the random image for the avatar. Everytime the user clicks on the 'Generate random avatar' button, a random word is generated using the random-word npm package. And that will be the query for the Unsplash search. For the UI I used Ant Design.

👩‍💻 Stack

JavaScript

React

CCS3

HTML5

npm random-word package

UUIDv4

Unsplash API

AXIOS

MobX

Ant Design

React Router

🗂️ Folder Structure

Screenshot 2022-02-18 at 14 09 33

🚀 Installation

To start working with the repository and install all the packages:

  1. Clone repo

git clone https://github.com/estefaniaderosa/blog.git

  1. Install

npm i

  1. Start

npm start

✅ Codefactor Score

CodeFactor

About

App that simulates a blog where the user can add,edit or delete posts and change a random avatar.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published