https://github.com/oscarcornejo/testing
Testing Xepelin
https://github.com/oscarcornejo/testing
axios material-ui react-router-dom reactjs
Last synced: 9 months ago
JSON representation
Testing Xepelin
- Host: GitHub
- URL: https://github.com/oscarcornejo/testing
- Owner: oscarcornejo
- Created: 2021-03-24T21:16:44.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-03-25T02:26:57.000Z (almost 5 years ago)
- Last Synced: 2025-02-14T23:19:59.657Z (11 months ago)
- Topics: axios, material-ui, react-router-dom, reactjs
- Language: JavaScript
- Homepage: https://testing-xepelin.netlify.app
- Size: 232 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Test
## 1.- Create an app in React using the given API with the given requirements:
- Have a left sidebar with two buttons: New Post and List posts
- New Posts tab should:
- Be able to Create new posts with title, body and userId, to the API
- Validate fields as required, except the userId that is hidden.
- Show an error if the requirements are not met.
- List Posts tab should have:
- List all the users in the api (Eg: https://jsonplaceholder.typicode.com/posts)
- If a Post is clicked, it should send you to the post details page
- Post detail
- It should show all the info of the post (from the API)
(Eg: https://jsonplaceholder.typicode.com/posts/2)
For the API you can use https://jsonplaceholder.typicode.com/
## Extra credit:
- Paginate the list of post with infinite scroll (5 posts per page)
- Use prebuilt components like material ui, bootstrap, etc.