A Full Stack To-Do List Application
- To Do's from postgres database now displays on the client-side in the browser, in a To Do List, through React
- A "To-Do List" that can add and delete todos
- Problem: todos are not saved, need a database to save todos
- Redux fully set up
- "todos" stored in Redux Store -
/reducers/rootReducer.js
- REST API has "todos" in the URL
/todos
- Attached a PostgreSQL database with Sequelize ORM
- database is named "todoDB" - Because of
new Sequelize('todoDB', ...
in the fileconfig/database.js
- "todoDB" has a table named "todos" - Because of
db.define('todo', ...
in the filemodels/ToDoModel.js
- database is named "todoDB" - Because of
- Front-End CANNOT fetch REST API
- Plan to use axios
- Have an "actions" folder?
- Add a "To Do" Edit Feature