git clone https://github.com/kevinanielsen/shurtle
cd shurtle
cd frontend
bun install
bun run dev
cd backend
bun install
bun run dev
Configure a .env
file with a MONGO_STRING and optionally a PORT if needed.
To develop on the project as a whole, make sure to edit the base_url in frontend/src/actions/shortenUrl.ts
to match your backend url.
Shurtle uses vitest to do unit-testing. To run the tests use either bun run test
or npx vitest