On The Fly is a full-stack travel planning application that allows users to organize trips, destinations, and activities in one place.
- Sign in with GitHub
- Create, view, edit, and delete trips
- Add destinations and activities to trips
- Add users to shared trips
- Upvote trip activities
- Store application data in PostgreSQL
- React
- Vite
- React Router
- Node.js
- Express
- PostgreSQL
- Passport GitHub OAuth
- Render
- Clone the repository.
git clone https://github.com/jing2003/onthefly
cd onthefly- Install dependencies.
npm install- Create a root
.envfile.
NODE_ENV=development
PGHOST=
PGPORT=5432
PGDATABASE=
PGUSER=
PGPASSWORD=
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
SESSION_SECRET=
CLIENT_URL=
SERVER_URL=- Start the client and server.
npm run devThe client runs at http://localhost:5173 and the server runs at http://localhost:3001.
The React client is deployed as a Render Static Site. The Express API is deployed as a Render Web Service and connects to a Render PostgreSQL database.