- set +x permition
chmod 710 build.sh
chmod 710 start.sh
chmod 710 db_start.sh
chmod 710 jaeger_start.sh
chmod 611 internal/infrastructure/postgres/database/setup/init-db.sh
- init db
./db_start.sh
- start jaeger
./jaeger_start.sh
- build image
./build.sh
- create network
docker network create student-networks
- run
./start.sh
trace just added to GetAllStudents
api.
open this url http://localhost:16686/
in your browser
- create student
method=POST url=http://localhost:15343/v1/student body={"first_name":"ali","last_name":"karimi", "national_id":"1"}
- get student by id
method=GET url=http://localhost:15343/v1/student/{id}
- get all students
method=GET url=http://localhost:15343/v1/student
- update student
method=PUT url=http://localhost:15343/v1/student/{id} body={"first_name":"ali","last_name":"karimi", "national_id":"2"}
- delete student
method=DELETE url=http://localhost:15343/v1/student/{id}
- metrics
method=GET url=http://localhost:15343/metrics
- test
- swagger
- gRPC
- prometheus node
- grafana
- ...