Skip to content

A template site for a mysterious upcoming Hack Club YSWS event, coming really soon!

Notifications You must be signed in to change notification settings

ArcaEge/construct

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4a8958d · · Nov 29, 2025

History

127 Commits
Nov 24, 2025
Nov 2, 2025
Nov 28, 2025
Nov 29, 2025
Oct 16, 2025
Nov 14, 2025
Nov 27, 2025
Nov 14, 2025
Oct 16, 2025
Oct 22, 2025
Oct 16, 2025
Nov 27, 2025
Nov 29, 2025
Nov 25, 2025
Oct 16, 2025
Nov 27, 2025
Nov 27, 2025
Nov 27, 2025
Oct 27, 2025
Oct 16, 2025
Nov 24, 2025
Oct 22, 2025

Repository files navigation

Construct

A Hack Club YSWS event

Built with SvelteKit, deployed with Docker (auto-builds container image and publishes to GitHub packages!)

Stack:

  • SvelteKit
  • Drizzle ORM
  • PostgreSQL (coming soon!)
  • Cloudflare R2 (coming soon asw!)

Developing

The recommended and easiest way to develop is to use a devcontainer to automatically set up a dev environment.

Copy .env.example to .env and update the stuff inside, then run this to initialise the database:

npm run db:migrate

Start a development server:

npm run dev

You can also run this to get a GUI for the database:

npm run db:studio

Deploying

Create a .env file containing all the required credentials, look at .env.example for an example.

Use the following docker-compose.yaml file to deploy:

services:
   db:
     restart: always
     image: postgres:latest
     environment:
      -  POSTGRES_HOST_AUTH_METHOD=trust # fine for testing, ideally add a password before deployment
     volumes:
      -  constructdb:/var/lib/postgresql
   construct:
     restart: always
     depends_on:
      -  db
     ports:
      -  3004:3000
     env_file:
      -  .env
     pull_policy: always
     image: ghcr.io/arcaege/construct:latest

networks: {}

volumes:
   constructdb:

Use the staging image tag instead of latest for the staging environment.

About

A template site for a mysterious upcoming Hack Club YSWS event, coming really soon!

Resources

Stars

Watchers

Forks

Releases

No releases published