View the result on Youtube
Run make up
as sudo to start the backend and database in a docker container.
Run docker container ls
to view all active containers (Linux).
Run make down
as sudo to stop the backend and database.
Run make buf
to lint the schema and generate the code
Send request to cloud backend and database
buf curl \
--schema proto \
--data '{"email": "[email protected]","password": "test"}' \
https://backend-service-2ybjkij5qq-uc.a.run.app/threedoclusion.v1.ScanService/Login
Run make migrate
to migrate the database schema to the latest version.
Run make migrate_info
to get migrations information.
Run cd frontend
to set your directory to the frontend directory.
Run sudo yarn deploy
to rebuild and deploy the firebase functions and hosting.