Skip to content

Eric-Hamber-Programming-Club/ChristmasTreeDecoration

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:
DATABASE_NAME=pixel2023 # or whatever year; this affects the table name
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
  1. Run bun dev in root to start the backend and frontend servers!

image

December 2022

About

December 2022 Christmas Tree Decoration activity

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 47.7%
  • Svelte 36.5%
  • CSS 7.6%
  • HTML 5.0%
  • JavaScript 3.2%