/epds

Experimental Pissykaka Database Syncer

Primary LanguageTypeScript

epds - e9l pissykaka database syncer

This is an experimental project created to practice a BFF with custom features for a umechan api.

Features

  • Sync DB in a loop
  • REST API (under constaction)
  • Moderation UI (under construction)

Requirements

  • PostgreSQL (v16) for database
  • Node.JS (v20) as runtime

Install and start

Clone the project

  git clone https://github.com/kugimiya/epds

Go to the project directory

  cd epds

Install dependencies

  npm install

Tune config (set creds for db)

  cp .env.example .env
  vim .env

Migrate db

  npm run migrate up

Start

  npm run start

Help

  npm run start -- --help

Development

How to create migrations

Just run this command:

  npm run migrate create your-migration-name