This is a back-end project that uses SQL database for manage a board game rental.
- List all games categories - GET
/categories
- Insert a new game category - POST
/categories
- List all games registred - GET
/games
- Insert a new game - POST
/games
- List all customers registred - GET
/customers
- Insert a new customer - POST
/customers
- Get a customer by Id - GET
/customers/:id
- Update a customer data - PUT
/customers/:id
- List all game rentals - GET
/rentals
- Insert a new rental - POST
/rentals
- Finish a rental - POST
/rentals/:id/return
- Delete a concluded rental - DELETE
/rentals/:id
- Clone the front-end repository
git clone https://github.com/bootcamp-ra/boardcamp-front.git
- Install dependencies in the front-end repository
npm i
- Clone this repository
git clone https://github.com/dayanecol/Boardcamp.git
- Install dependencies
npm i
- Create an .env file based on .env_example
- Run the front-end with
npm start
- Finally access http://localhost:3000 on your browser to start using the app