Skip to content

ScottyLabs/cmuinsta

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CMU Insta

Automating frontend for the CMU prefrosh page.

Tech Stack:

  • Frontend: Svelte (Vite + TypeScript)
  • Backend: Go
  • Database: PostgreSQL

TODO

  • Add image processing on client side (compress and crops to ideal aspect ratio as supported by instagram API)
  • Image processing for the first slide, we need to be able to frame an image like the Co2030 account does in the red or blue frame randomly (it alternates iirc)
  • Post preview for client
  • Continous uploads: when a client uploads an image it should automatically sync to the backend ASAP so that their progress is saved
  • All of backend should be reviewed/written

Getting Started

To get started, follow these steps:

  1. Clone the repository:
    git clone https://github.com/yourusername/cmuinsta.git
  2. Make sure you have NixOS with DirEnv installed, similar if not same as Terrier contribution setup
  3. Navigate to the project directory:
    git clone https://github.com/etashj/cmuinsta.git
    cd cmuinsta
  4. Copy the .env.sample file and modify
  5. Run the app for development or production
    just dev
    just up
  6. Kill the app
    just down
  7. If something goes wrong idk what to do tbh

Commands

  • just dev: Start the full stack in development mode.
  • just build: Compile the backend and frontend for production.
  • just clean: Remove build artifacts (bin/, dist/, node_modules/).
  • just db-init: Initialize the local Postgres database.
  • just db-start: Start the database manually.
  • just db-stop: Stop the database.
  • just db-shell: Open a psql shell to the local database.

About

Automating frontend for the cmu prefrosh prage

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors