estefaniaderosa / blog

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

Home Page:https://estefaniaderosa.github.io/blog/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

https://estefaniaderosa.github.io/blog/


Languages

Language:JavaScript 83.9%Language:HTML 11.9%Language:CSS 4.2%