musahit-harita-backend

module
v0.0.0-...-86a22be Latest Latest
Warning

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

Go to latest
Published: May 28, 2023 License: Apache-2.0

README

musahit-harita-backend

Proje Hakkinda

architecture

Projenin localde kaldirilmasi icin asagidaki adimlar izlenmelidir.

Gereksinimler

  • Docker
  • Docker Compose
  • Go 1.20

Calistirma

  1. Docker compose ile uygulama ayaga kaldirilir. Her seferinde temiz bir ortam olusturmaktan emin olmak icin --build --remove-orphans --force-recreate parametreleri asagidaki komuta eklenebilir (container'lara ait varolan veriler silinmez).
docker-compose up
  1. env dosyasi olusturulur sisteme gore degiskenler eklenir. DB_CONNECTION_STRING=postgres://postgres:postgres@localhost:5432/postgres REDIS_HOST=localhost:6379 REDIS_PASSWORD=eYVX7EwVmmxKPCDmwMtyKVge8oLd2t81

  2. api klasorune girilir ve asagidaki komutlar calistirilir.

go run . 

Directories

Path Synopsis
aws
s3
cmd
api
middleware
pkg
utils

Jump to

Keyboard shortcuts

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