Skip to content

mash-up-kr/VitaminC_server

Repository files navigation

Korrk (꼬르륵)

korrk

Members

주병호 이찬웅 정세훈 김바다

Tech Stack


ERD

korrk-erd

Before getting started

0. Install pnpm

$ npx [email protected] install

1. Install deps

$ pnpm install

2. Create .development.env

// ./.env
  DB_USER=postgres
  DB_NAME=postgres
  DB_PASSWORD=1q2w3e4r

2.1. Create local postgres (optional)

$ docker compose --env-file .development.env up -d

2.2. Or with migrated local postgres

$ pnpm postgres:local:up

3. Migrate database (optional, can skip if you follow step 2.2.)

$ pnpm migrate:up:dev

4. Start

$ pnpm start:dev

Error catch

GeoQuery with PostgreSQL

To use Geo Queries in PostgreSQL, you need to install the PostGIS extension.

Using Docker

You can use the official PostGIS-enabled PostgreSQL image, which includes everything pre-installed: PostGIS

Installing Locally (Linux/macOS)

Ubuntu/Debian (APT Package Manager)

sudo apt-get install postgis postgresql-16-postgis

macOS (Homebrew)

brew install postgis

Todo

PostGIS 설치 필요

Before running postgresql postGIS extension installed needed

About

비타민씨 노드팀

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages