Skip to content

janapc/manga-api

Repository files navigation

Manga API

Last commit Language top Repo size CI/CD Pipeline

Project   |    Requirement   |    Run Project   |    Request API   |    Technologies

Project

Api to register mangas and manager those mangas.

Requirement

To this project your need:

In cmd/server folder create a file .env with:

DB_URL= //database connection
JWT_SECRET= // your secret
JWT_EXPIRES_IN= // your time expires
BASE_URL_V1=http://localhost:3000/api/v1 // url of api

Run Project

Start Docker in your machine and run this commands in your terminal:

## up mongodb, kafka and mysql
❯ docker compose up -d

## run this command to install dependencies:
❯ go mod tidy

## run this command inside cmd/server to start api(localhost:3000):
❯ go run main.go

Request API

local-swagger

Technologies

  • golang
  • postgres
  • docker
  • gorm
  • go-chi
  • viper

Made by Janapc 🤘 Get in touch!

Releases

No releases published

Packages

No packages published

Languages