Welcome to the Cocktail Recipe API project.
This is a Go project designed for storing and managing cocktail recipes.
To build the Docker image for the application, run:
make build
make run
or
make all
to build + run everything
To generate new token run generateToken.go
file manually. Result should be something like this
Your Token:
eyJhbGciOiJIUzIJNiIsInR5cCI6IkpXVCJ9.eyJhdRRob3JpemVkIjp0cnVlLCJleHAiOjE3MDUyNTE5ODgsInVzZXJfaWQiOtF3MDQ2NDY5ODg5OTQqDDk1NTl9.Jlhj2LvLC064ZHZbiVCk5b56oRiuaXTuEO2E8i0NkdI
Put Authorization
as a key to the Headers and paste the token with Bearer
prefix to access api.
To stop and remove the running containers, use:
make stop
To clean up the Docker network, run:
make clean