00shiki / kururen-api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kururen API

Project Description

Car Rental API with mail and payment gateway integration.

ERD

erd

Folder Structure

  • api
    • handler
      • cars
      • rentals
      • users
    • presentation
      • cars
      • rentals
      • users
    • middlewares
    • routes
      • v1
  • entity
  • config
  • pkg
    • jwt
    • response
    • xendit
    • mail
  • repository
    • cars
    • rentals
    • users
  • migrations

Tech Stack

  • Echo
  • PostgreSQL
  • Gorm
  • Testify
  • Mockery
  • Logrus
  • Swaggo
  • JWT
  • Heroku
  • Docker
  • Xendit
  • Gomail

How to run

  1. create copy .env.example into .env and fill in the project config
  2. prepare your postgres server and run make migration
  3. run make run to build and run the server

About


Languages

Language:Go 99.1%Language:Makefile 0.7%Language:Dockerfile 0.2%