Entangler is the all-in-one platform for managing requests and item loans.
Note
The backend is no longer being hosted, so the live site will not work as expected.
To start both the frontend and backend, run:
docker compose up -d --buildTo stop them, run:
docker compose downThis starts both the frontend and backend together, but they would generally be run separately. For more information, see frontend/README.md and backend/README.md.
To run the backend locally, first navigate to the /backend folder.
To start the backend using npm:
npm install
npm run init
npm startTo start the backend using bun:
bun install
bun run init.ts
bun run index.tsThis will run the API at http://localhost:6231
For more details, visit backend/README.md.
To run the frontend locally, first navigate to the /frontend folder.
To start the frontend using npm:
npm install
npm startTo start the frontend using bun:
bun install
bun startThis will host the site at http://localhost:6131 and call the live API (https://quantum-entang.ler.sg). Alternatively, you can run a development server using npm run dev or bun run dev which will call the API locally at http://localhost:6231.
To build the frontend for deployment to static hosting, run:
npm run buildOr bun run build if using bun.
The built site including html, javascript, css and other assets will be found in the /build folder.
For more details, visit frontend/README.md.