https://github.com/flatypus/christmastreedecoration
https://github.com/flatypus/christmastreedecoration
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/flatypus/christmastreedecoration
- Owner: flatypus
- License: mit
- Created: 2022-12-16T06:51:26.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-01-07T04:16:50.000Z (over 2 years ago)
- Last Synced: 2025-06-21T10:43:24.165Z (about 1 year ago)
- Language: TypeScript
- Homepage: https://christmas.flatypus.me
- Size: 418 KB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Christmas Tree Decorating!
Christmas pixel tree decoration activity created for the last programming club meeting of the year, in December 2022.
✨ Updated in December 2023 for real-time editing, SQLite + Drizzle ORM, and Railway deploy!
## Running the website:
1. Clone the repository.
2. Install bun `https://bun.sh/docs/installation` (we use the SQLite3 driver provided by bun)
3. Install the dependencies in root, `/backend`, and `/frontend` with `bun i`.
4. Setup a `.env` file in root; put in:
```env
INITIAL_CANVAS=pixel2023 # or whatever year; this affects the first-loaded canvas
VITE_BACKEND_URL=http://localhost:6969 # backend runs on port 6969 by default
SQL_PATH=./temp # this is where the SQLite3 database will be stored relative to /backend; on Railway, this is /temp because that's where the volume is mounted
```
5. Run `bun dev` in root to start the backend and frontend servers!

December 2022