A simple crud app with React Hooks (+Axios) consuming a simple Nodejs api server (+Sequelize Sqlite).
| dependencies | links |
|---|---|
| axios | link |
| querystring | link |
| react | link |
| react-dom | link |
| react-scripts | link |
CSS Style - (html tags on index.html): Materialize
Start react app. Port: http://localhost:3000
| dependencies | links |
|---|---|
| cors | link |
| express | link |
| sequelize | link |
| sqlite3 | link |
| dev-dependencies | links |
|---|---|
| nodemon | link |
| sequelize-cli | link |
Start api server. Port: http://localhost:3333
Database in: database/database.sqlite
The database.sqlite already contains some data.
| verb | route |
|---|---|
| get | /api |
| post | /api |
| put | /api/:id |
| delete | /api/:id |
Build a CRUD App in React with Hooks - Tania Rascia - eng.
Configurando o ORM Sequelize no NodeJS com ExpressJS - Rocketseat - pt-br.
