Reactjs front-end to connect by api to do CRUD on MYSQL database - Application test for Gazeta do Povo
- Go to folder backend
cd backend
- Up the Database Container
Change .env.example to .env , and update if it is necessary for your enviroment.
docker-compose up -d
- Install dependencies
yarn install
- Seed your database with users fakes.
npx sequelize-cli db:seed:all
- Run Server
yarn serve
[GET , POST , PUT, DELETE] => YOUR_HOST + API_PORT + '/api/v1/users'
Install dependencies
yarn install
Run aplication
yarn start