- Forked from hyperdti-cu
- Backend adapted from IEEE Berkeley Short Circuit
- Branding for IEEE Berkeley adapted from IEEE Berkeley
- PostHog analytics removed for the moment
- Create Short URLs that are automatically copied to your clipboard upon generation.
- Create custom aliases for your URLs, if you want.
- URL Validation upon form submission.
Use yarn to install dependencies and run the development server.
yarn
yarn dev
Navigate to ./server
and create a .env
file with the MongoDB connection string following .env.example
.
Navigate to project root and run npm run deploy
. This will build the frontend, copy the build folder to server, and deploy it via the Express server at :3333/
.
Currently deployed via Fly.io. Steps to deploy to Fly.io:
- Install the Fly.io CLI
1b. Set up the environment variable:
fly secrets set MONGO_URI=<your mongo uri>
- Run
flyctl launch
and follow the prompts - Run
flyctl deploy
to deploy the app