Skip to content

A ReactJS User Interface application with the JSONPlaceholder API. Bootstrap for CSS.

Notifications You must be signed in to change notification settings

hart-james/placeholder

Repository files navigation

Placeholder

placeholder

Package.json version API Docker Build GitHub repo size GitHub tag (latest by date) GitHub last commit

A demo application and learning experience for use with other cloud based projects.


Placeholder is a small but functional application that drives home ReactJS concepts to put together User Interfaces to pair up with back end projects.

  • Its criteria are :
    • Fully responsive UI. From mobile to desktop
    • Component tree based architecture
    • Resuable components
    • Props
    • State
    • Bootstrap 5.1 for CSS

Architecture

placeholder

An Asynchronous GET request is initiated in App.JS to obtain user information for User #3 located at https://jsonplaceholder.typicode.com/users/3 Using user #3 from the API simulates already logging in and using the User in Reacts Context. The JSON obtained is parsed and set in the applications State. Information in State is used as a Prop and passed down to every component in the tree (except Spinner - which is used for UX).

placeholder

This a screegrab of the Posts page for user #3. Clicking on any row in the list will generate a toast message displaying the title of the row clicked to display basic functionality.

Installation

Clone the repository cd into the directory and then npm start. Should run on localhost:3000

If you don't have node installed, a Docker image is publicly available on dockerhub: jhart87/jsonplaceholder:latest

Release History

  • 1.0.0
    • Initial Release

Contributing

  1. If you feel like contributing please submit any pull requests on the master branch.

About

A ReactJS User Interface application with the JSONPlaceholder API. Bootstrap for CSS.

Resources

Stars

Watchers

Forks

Packages

No packages published