https://github.com/dwarvesf/icy-backend
https://github.com/dwarvesf/icy-backend
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/dwarvesf/icy-backend
- Owner: dwarvesf
- Created: 2024-10-31T04:24:57.000Z (over 1 year ago)
- Default Branch: develop
- Last Pushed: 2025-03-12T04:20:02.000Z (over 1 year ago)
- Last Synced: 2025-03-12T05:23:33.990Z (over 1 year ago)
- Language: Go
- Size: 373 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ICY Backend
## Overview
This repository is the official BE services for ICY operations.
## Setup local development environment (pick one of following ways)
### Using DEVBOX
Create isolated shell using devbox
```
make shell
```
### Using your machine environment
1. Install Golang
2. Install Docker
## How to run source code locally
1. Set up source
Set up infras, install dependencies, etc.
```
make init
```
If you use Devbox, it will be initialized automatically the first time you run `make shell`
2. Set up env
Create a file `.env` with these values:
```
DB_HOST="127.0.0.1"
DB_PORT="25432"
DB_USER="postgres"
DB_PASS="postgres"
DB_NAME="icy_backend_local"
DB_SSL_MODE="disable"
ALLOWED_ORIGINS="*"
ENV=dev
```
3. Run source
```
make dev
```
The service starts with port 3000 as the default