Skip to content
This repository has been archived by the owner on Nov 16, 2021. It is now read-only.

A simple crud app with React Hooks (+Axios) consuming a simple Nodejs api server (+Sequelize Sqlite).

License

Notifications You must be signed in to change notification settings

arturguitelar/simple-crud-react-nodejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Crud

A simple crud app with React Hooks (+Axios) consuming a simple Nodejs api server (+Sequelize Sqlite).

Screenshot

alt text

frontend

dependencies links
axios link
querystring link
react link
react-dom link
react-scripts link

CSS Style - (html tags on index.html): Materialize

npm start

Start react app. Port: http://localhost:3000


backend

dependencies links
cors link
express link
sequelize link
sqlite3 link
dev-dependencies links
nodemon link
sequelize-cli link

npm start

Start api server. Port: http://localhost:3333


Database in: database/database.sqlite

The database.sqlite already contains some data.

Api routes:

verb route
get /api
post /api
put /api/:id
delete /api/:id

Tutorial referencies:

Build a CRUD App in React with Hooks - Tania Rascia - eng.

Configurando o ORM Sequelize no NodeJS com ExpressJS - Rocketseat - pt-br.

Post on my blog about this project. - pt-br

About

A simple crud app with React Hooks (+Axios) consuming a simple Nodejs api server (+Sequelize Sqlite).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published