$ cd frontend
$ npm install
or$ yarn
$ npm start
or$ yarn start
backend
$ cd api
$ npm install
or$ yarn
$ npm start
or$ yarn start
Navigate to the backend directory
$ cd backend
Use the following command to download MySQL images using Docker Compose
$ docker-compose up
Connect to the database using MySQL Workbench or your preferred MySQL client.
Use the command for created Schema and Table in your data base.
$ docker exec -it mysqlbd mysql -uroot -p
$ CREATE SCHEMA
crud ;
$ USE
crud;
$ CREATE TABLE
usuarios(
idint NOT NULL AUTO_INCREMENT,
nomevarchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
emailvarchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
fonevarchar(45) COLLATE utf8mb4_unicode_ci NOT NULL,
data_nascimento date NOT NULL, PRIMARY KEY (
id) ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
- Create users in the database
- Read users in the database
- Update users in the database
- Delete usres in the database
- Click to edit and delete users