Skip to content

Internal Site for DS3. Used to centralize events and track analytics.

License

Notifications You must be signed in to change notification settings

ucsdds3/internal-site

Repository files navigation

DS3 Internal Site

This webapp is used internally inside the Data Science Student Society to post events and track analytics. It is built using SvelteKit and Typescript. It uses MongoDB as the primary DB, and is deployed on Vercel.

Requirements

  1. Node.js
  2. For DB testing: MongoDBCompass

Running Locally

  1. Clone the repository.
  2. Install pnpm. Instructions here or if you have npm do:
npm install -g pnpm
  1. Install dependencies.
pnpm install
  1. Create a .env file and paste in the following contents
# If you don't know the MongoDB connection, contact the Infrastrcture Director.
DATABASE_URL="<DB_URL_HERE>"
  1. Generate the database schema for typescript IntelliSense.
npx primsa generate
  1. Run locally using pnpm and navigate to localhost:5173.
pnpm run dev