Unihack 2025 submission by John Pharoah
#Getting keys
- Head over to the google maps developer portal and traveltime and make accounts to retrieve your api keys.
#Setup
- After cloning the project, run
cd backend, then runnpm ito install all dependencies. - Create a .env file and fill out the following fields:
ALLOWED_ORIGINS = [Your local host]
PORT = [Your backend port]
TRAVELTIME_APPLICATION_ID = [Your traveltime application id]
TRAVELTIME_API_KEY = [Your traveltime api key]
GOOGLE_MAPS_KEY = [Your google maps key]
- Navigate to the frontend directory and run npm i.
- Create a .env and put the google maps key into it.
#Running the project
- On the backend directory, run
npx ts-node app.ts. - On the frontend directory, run
npm run dev