Skip to content

Latest commit

 

History

History
30 lines (28 loc) · 953 Bytes

README.md

File metadata and controls

30 lines (28 loc) · 953 Bytes

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