Full-Stack application built with Node.js (Express) backend and React frontend,
using Sequelize to manage a MySQL database.
Supports CRUD operations (Create, Read, Update, Delete) with migrations.
- Backend: Node.js, Express, Sequelize, MySQL
- Frontend: React
- Environment variables: dotenv
- Database CLI: Sequelize CLI
- Full CRUD on the database
- Migrations support with SequelizeMeta tracking
- Configuration via .env for multiple environments
- Node.js
- MySQL
- Git
git clone https://github.com/MMaffi/Full-Stack_CRUD.gitcd backend
npm installDB_HOST=localhost
DB_USER=seu_usuario_aqui
DB_PASS=sua_senha_aqui
DB_NAME=nome_do_banco
DB_DIALECT=seu_dialect || 'mysql'npx sequelize db:migratenpm startcd ../frontend
npm installnpm startOpen http://localhost:3000 in your browser.
npx sequelize db:migrate → run migrations
npx sequelize db:migrate:undo:all → undo all migrations
npm start → start backend or frontend server
GET / → list users
POST / → create user
GET /:id → get user by ID
PUT /:id → update user
DELETE /:id → delete user
Set environment variables in production
Run migrations on the production server
Start backend and frontend (e.g. Heroku, Vercel)
-
Fork the repo
-
Create a feature branch
-
Commit with clear messages
-
Open a Pull Request