A stock exchange market for discord bots. Discoin is a platform that allows users to exchange one discord bot currency for another. It is designed to facilitate the trading of bot currencies in a secure and efficient manner.
Build and start the frontend and API with Docker Compose:
docker compose up --buildCompose starts PostgreSQL (postgres:latest), waits for it to become healthy, and requires the API to connect to it before the API starts. The site is at http://localhost:4080, and the API is reached through it at http://localhost:4080/api (the API port is not published). The API health endpoint checks database connectivity and is at http://localhost:4080/api/health.
The local database defaults are discoin for the database, user, and password. Override them with POSTGRES_DB, POSTGRES_USER, and POSTGRES_PASSWORD in the environment when needed. Do not use the development password in production.
GitHub Actions checks frontend linting, formatting, and builds; API linting, formatting, and lockfile consistency; npm and Python dependency vulnerabilities; and Docker Compose configuration and image builds. Dependabot checks for dependency and GitHub Actions updates weekly.