React Todo front-end client that consumes the API provided Spring Todo Application. This project was initially bootstrapped with Create React App and changed to use Material-UI components using React Hooks.
- User Authentication
- User account creation
- Todo CRUD
- Search Todo
- Mobile friendly UI
git clone {repo}
cd react-to-do
npm install
npm start
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
Running npm run build
builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
Running npm run deploy
would deploy to the Github gh-pages of the repository. Ensure repository
exits and change the homepage on package.json
to your Github username if deploying to own github account.
- First time building a React App with Hooks. I'm imagine there are areas of the code that do not follow conventions.
- User CRUD actions makes an additional call to re-fetch all todos to refresh listing instead of just affecting state.
- Likely do not need to have a global state for todos if hooks were used correctly
- State Management with React Hooks
- React Hooks Tutorial for Beginners
- Manage global state with React Hooks
- Material-UI
Kevin Fan (KevFan)
16th June 2019