尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗A platform for sharing items within trusted, closed communities. Members can lend and borrow belongings and track requests — all within private groups they own or belong to.
Built with Remix v2, Prisma, SQLite, and Tailwind CSS.
ShareStuff lets people create and join private communities where they share their belongings with neighbours and friends. Think of it as a neighbourhood library for tools, books, games, kitchen gear, and more.
PENDING → APPROVED → BORROWED → RETURNEDInitial setup:
npm run setup
Start the dev server:
npm run dev
This starts the app in development mode, rebuilding assets on file changes.
The database seed script creates a user you can use to get started:
[email protected]racheliscool[app/models/user.server.ts](./app/models/user.server.ts)[app/session.server.ts](./app/session.server.ts)[app/models/community.server.ts](./app/models/community.server.ts)[app/models/item.server.ts](./app/models/item.server.ts)[app/models/notification.server.ts](./app/models/notification.server.ts)[prisma/schema.prisma](./prisma/schema.prisma)This app deploys to Fly.io. See DEPLOYMENT.md for full instructions.
GitHub Actions automatically deploy:
main branch → productiondev branch → stagingThe SQLite database lives at /data/sqlite.db in the deployed app. Connect to it with:
fly ssh console -C database-cli
The test suite has three layers. Day-to-day development relies on Vitest — unit tests for models/utilities and integration tests for user flows.
npm test # watch mode
npm run test:run # single run (unit + integration)
npm run test:integration # integration flows only
Integration tests live in test/integration/. They call real Remix loaders and actions against an isolated SQLite database (prisma/test.db), then render pages with the returned data to verify UI output (including formatted dates).
Helpers in test/integration/test-db.ts reset the DB between tests, create users/communities, and build authenticated requests.
Current flows covered:
Unit tests live next to the code they cover (app/**/*.test.ts(x)). Models and utilities use mocked Prisma; route components use mocked loader/action data.
A small Cypress suite exists for browser smoke checks. It is not required for local development.
npm run test:e2e:dev # interactive
npm run test:e2e:run # headless (builds app, runs against mocks on port 8811)
cy.login() logs in as the seeded test user. cy.cleanupUser() removes users created during a test.
npm run typecheck
npm run lint
npm run format
npm run validate runs unit/integration tests, lint, typecheck, and Cypress smoke tests together.