/CRUD-example

Basic CRUD model using React, Redux, axios, Json Server and picsum API

Primary LanguageJavaScript

CRUD-example

This version is not up to date, go here for actual best version :
https://github.com/nnieddu/CRUD-localStorage-RTK-ElectronJs

Basic CRUD model using React, Redux, axios, Json Server as a fake db, picsum API for random post image, styled with React bootstrap and SCSS.

Possible actions :

  • Post or Edit article (title + content)
  • Remove article
  • Like a post (Total like counter under user profile pictures is incremented only if on of his post is liked).

The post image is fetched randomly with picsum API : https://picsum.photos/

Try it online with the local storage version here : https://nnieddu.github.io/CRUD/
localStorage version source : https://github.com/nnieddu/CRUD-localStorage-exemple

To try it on your machine clone this repo then in the folder :

npm install
npm run server
npm start

GIF CRUD DEMO