Project Description
An app that allows you to add todos and complete them!
Features
Specific features with React.js:
getCategories()
to retrieve every file!
- AddCategory, Categories, Category, AddTodo, Todos, Todo components with props!
How It's Built
This project was built in two different parts: the frontend and the backend. The frontend was built with React.js. The backend was built using Express.js and MySQL! I built an API (not complete yet) to query data from the MySQL database!
What I learned
Maybe I should have stuck to React functions instead of classes :(
I learned about React hooks such as componentDidUpdate()
and componentDidMount()
and the best way to implement a reactive app that updates the state without reloading while storing the data (two saving systems: save it in react states and save it in the api; when user reloads page, api fetches stored data in database)! Also, I learned how to pass methods as props to other child components!
What's next
Implementing the following features:
- Better UI
- React updates by its state while sending requests to the api to store the data in the database.
Give Feedback
Log in to comment!