used to manage venue information on the booking platform
- Go to the
venue_api
lib directory. - populate
.env
file from example - ensure lib folder contains certs (see below)
- run
make dev
to run api and postgres instance in docker-compose
used to manage bookings on the platform
- Go to the
booking_api
lib directory. - populate
.env
file from example - ensure lib folder contains certs (see below)
- run command
make postgres
to create an instance of the booking database in docker-compose - run command
cargo run
to start api locally
graphql api used to receive requests from clients and forward them to gRPC apis
- Go to the
gateway_api
lib directory. - populate
.env
file from example - ensure lib folder contains certs (see below)
- run command
make local
to start api locally
APIs need a public and private key to communicate with each other. Run the following command to generate certificates. Place them in the individual API folders.
openssl req -x509 -out localhost.crt -keyout localhost.key \
-newkey rsa:4096 -nodes -sha256 \
-subj '/CN=localhost' -extensions EXT -config <( \
printf "[dn]\nCN=localhost\n[req]\ndistinguished_name = dn\n[EXT]\nsubjectAltName=DNS:localhost\nkeyUsage=digitalSignature\nextendedKeyUsage=serverAuth")
a front end client that allows users to make bookings
- Go to the
booking_ui
lib directory. - Run
make dev
to install dependencies, generate graphql code and run user interface.
a front end client that allows venue administrators to make service changes
- Go to the
admin_ui
lib directory. - Run
make dev
to install dependencies, generate graphql code and run user interface.