Clipboard is a full-stack clipboard sharing tool. The frontend is a React + TypeScript application styled with Chakra UI, and the backend is a FastAPI service backed by SQLAlchemy. It lets anyone create short-lived public notes and signed-in users keep personal entries that stay private.
frontend/React client built with Vite and React Querybackend/FastAPI application with PostgreSQL via SQLAlchemy
- Node.js 18+ and pnpm (or npm) for the frontend
- Python 3.11+ and access to a PostgreSQL instance for the backend
- Create and activate a virtual environment.
- Install dependencies:
pip install -r backend/requirements.txt. - Create
backend/.env(optional) and define any overrides for the settings inapp/core/config.py, especiallyDATABASE_URL. - Launch the API:
uvicorn app.main:app --reload --host 0.0.0.0 --port 8000(run frombackend). - Browse API docs at
http://localhost:8000/docs.
- Install dependencies:
pnpm install(run fromfrontend). - (Optional) Adjust API and OAuth2 endpoints in
src/config.ts. - Start the dev server:
pnpm dev. - Open the client at the URL Vite prints (default
http://localhost:5173).
Welcome Stars and PRs