Goal of this document is to kickstart your development of the Products
https://youtube.com/watch?v=4awyyk8sWho
Environment prerequisites
<aside>
💡 You will need Linux or Mac OSX with Docker to develop Web-app services
To develop Entrance Observer video processing services you’ll need Jetson Orin Nano or Jetson Nano to have GPU support and docker image compatibility
</aside>
Local development setup
- Start by checking out https://github.com/gratheon/web-app. Its just a react single-page app and does not need a docker image but you can see API dependencies it will require. Checkout its README.md “development” section to run it. You should be able to get to the login page, but since it doesn’t have a backend yet, you won’t be able to login
- Next, checkout all of the core dependent services based on the architecture diagram to understand how services on the backend are connected
Core services
The following services are mandatory, you will need to git-checkout them and start in the following order:
- mysql ← provides storage for other node and go services
- redis ← provides a pub-sub and caching layer
- graphql-schema-registry ← stores graphql schema of microservices
- graphql-router ← routes API requests to other microservices using a graphql federation, which basically means that requests are split and routed to the microservice that is responsible for particular part of the schema
Product services
- go-api ← main service that manages domain entities like apiary, hive, hive section, frame, frame side