cocktail-recipe

module
v0.0.0-...-7447793 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 6, 2024 License: MIT

README

Cocktail Recipe

Welcome to the Cocktail Recipe API project.

This is a Go project designed for storing and managing cocktail recipes.

Installation

To build the Docker image for the application, run:

make build

Run

make run

or

make all

to build + run everything

JWT Token

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.

Stop and Clean Up

To stop and remove the running containers, use:

make stop

To clean up the Docker network, run:

make clean

Directories

Path Synopsis
cmd
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL