A farm building management application. The system consists of a Back-end REST API. The application will create farm buildings with farm units, and feed those farm units.
Run the following commands to start the up
sudo docker-compose up --build
- Open your web browser and type http://localhost:3000/ to see the application
- To Feed a unit
- verify if the unit is alive, is not currenly feeding or is in the feeding interval
- To verify if the if the unit is not currently feeding, we lock the currently fed unit, allow it to feed and unlock it
- To Feed a Building
-
verify if the building is in the feeding interval
-
Go through all building units and feed them.
-
To verify if the if the building is not currently feeding, we lock the currently fed building, allow it to feed and unlock it
-
- Nodejs, Express with Typescript
- Sequelize
- Postgress
- Postman Collection - Use link to join Postman collection