This project uses Redux and Redux Toolkit
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
The skeleton app uses test data but should use real data from https://jsonplaceholder.typicode.com/posts. The store is already configured and has a posts slice. It uses Redux Toolkit, which includes Redux Thunk middleware, so createAsyncThunk can be used to create an action that loads the data. It should be dispatched when the Posts component mounts. When loading the isLoading state should be set to true then reset to false when the request succeeds.
You can load the data any way you like, for example using the fetch API or a library like Axios.
The skeleton app uses React Router for displaying the relevant component for the current URL and linking between the posts list and the post page.
There are also other TODOs dotted around the code that need sorting.