- Fork the project from the respective gitlab repository
- Open terminal and cd into desired folder to host the project
- git clone [repository link]
- cd [project name]
- Run the following command to open the application in Visual Studio Code
- code .
- Run the following commands after opening the project in the desired folder:
- docker volume create beta-data (generates database)
- docker-compose build (creates the images for the containers)
- docker-compose up (creates containers and runs them with the respective images)
- View the application on http://localhost:3000
MANUFACTURERS
| Method | URL | Expected Response | PORT
| GET | http://localhost:8100/api/manufacturers/ | List manufacturers | 8100
| POST | http://localhost:8100/api/manufacturers/ | Create a manufacturer | 8100
| GET | http://localhost:8100/api/manufacturers/:id/ | Get a specific manufacturer |8100
| PUT | http://localhost:8100/api/manufacturers/:id/ | Update a specific manufacturer | 8100
| DELETE | http://localhost:8100/api/manufacturers/:id/ | Delete a specific manufacturer | 8100
VEHICLE MODELS
| Method | URL | Expected Response | PORT
| GET | http://localhost:8100/api/models/ | List vehicle models | 8100
| POST | http://localhost:8100/api/models/ |Create a vehicle model | 8100
| GET | http://localhost:8100/api/models/:id/ | Get a specific vehicle model | 8100
| PUT | http://localhost:8100/api/models/:id/ |Update a specific vehicle model | 8100
| DELETE | http://localhost:8100/api/models/:id/ | Delete a specific vehicle model | 8100
AUTOMOBILES
| Method | URL | Expected Response | PORT
| GET | http://localhost:8100/api/automobiles/ | List automobiles | 8100
| POST | http://localhost:8100/api/automobiles/ | Create an automobile | 8100
| GET | http://localhost:8100/api/automobiles/:vin/ | Get a specific automobile | 8100
| PUT | http://localhost:8100/api/automobiles/:vin/ | Update a specific automobile | 8100
| DELETE | http://localhost:8100/api/automobiles/:vin/ | Delete a specific automobile | 8100
SALES MICROSERVICE
| Method | URL | Expected Response | PORT
| GET | http://localhost:8090/api/salerecords/ | List of sales | 8090
| POST | http://localhost:8090/api/salerecords/ | Create an new sales record | 8090
| GET | http://localhost:8090/api/salesreps/ | List of sales people | 8090
| POST | http://localhost:8090/api/salesreps/ | Create a new sales person | 8090
| GET | http://localhost:8090/api/salescustomers/ | List of customers | 8090
| POST | http://localhost:8090/api/salescustomers/ | Create a new customer | 8090
SERVICE MICROSERVICE
| Method | URL | Expected Response | PORT
| GET | http://localhost:8080/api/technicians/ | List of technicians | 8080
| POST | http://localhost:8080/api/technicians/ | Create a new technician resource | 8080
| GET | http://localhost:8080/api/appointments/ | List of appointments | 8080
| GET | http://localhost:8080/api/appointments/int:pk/ | See specific appointment | 8080
| POST | http://localhost:8080/api/appointments/ | Create a new appointment | 8080