-
Car owners can report stolen cars
-
New stolen car cases should be automatically assigned to any free police officer
-
A police officer can only handle one stolen car case at a time
-
When the Police find a car, the case is marked as resolved and the responsible police officer become available to take a new stolen car case
-
The system should be able to assign unassigned stolen car cases automatically when a police officer becomes available
-
Your task is to provide APIs for a frontend application that satisfies all above requirement and also the frontend for implementing this feature
-
Please stick to the Product Requirements. Authentication is not required
- Npm
- Go
- MongoDB
- The port to be used can be customized from
/server/main.go
- The mongodb connection url is to be updated in
/server/middleware/middleware.go:21
npm run build
cd server
go main.go
You can see your application at htttp://localhost:{port-number}/
by default it's 3200
.
Postman collection can be found at postman/Boomer-API.postman_collection.json