Skip to content

ChicoState/archenemy

Repository files navigation

Clippy check

![WARNING] I just made a major api change! Basically everything is prefixed with /api/v1

Archenemy

A matching platform that helps you find your nemesis!

Development Environment Setup

Prerequisites

Port Requirements

The following ports need to be available on your system:

  • 3000: API Server
  • 5432: PostgreSQL Database

Ensure these ports are not already in use by other services on your system.

Configuration

  • Dm me (WERDXZ) on discord for a copy of environment variable, put it at root directory (it should be Secrets.toml) (Only needed if you want bucket access).
  • Else, just create an empty Secrets.toml file.

Running with Docker Compose

Start the development environment:

docker compose up

To run in detached mode:

docker compose up -d # It wouldn't block your terminal!

To stop the containers:

docker-compose -f docker-compose.dev.yaml down

Seeding

To initialize your database with sample data:

# Basic usage (seed from a file)
./scripts/seed seed/0x01.seed

# Import from a remote database
./scripts/seed --remote REMOTE_DB_URL

# Additional options
./scripts/seed --help  # Show all available options
./scripts/seed seed/0x01.seed --no-clear  # Seed without clearing existing data
./scripts/seed seed/0x01.seed --yes  # Skip confirmation prompts

Api Docs

It will be in the uri: /swagger-ui, make sure to prefix with the correct domain. In our case, the remote server is: archenemy-zusg.shuttle.app.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published