Gamify
Gamify copied to clipboard
Gamify is an open-source gamification platform designed to help communities, teams, and individuals create their own achievement-based ecosystems.
## Summary Gamify is a 3-service monorepo (React client, Express server, Discord.js bot). With 50 active forks and 56 open issues, every PR is merged with zero automated verification. There...
## Summary The Gamify reward store allows members to redeem points for real or virtual rewards. The frontend displays available balance and disables the redeem button when points are insufficient....
## Summary `bot/.env.example` documents: API_URL=http://localhost:5000/ The Discord bot (`bot/`) communicates with the Express server exclusively through `API_URL` — every point award, task verification, and leaderboard fetch is an HTTP call...
# Problem The `purchaseItem` controller in `shopController.js` checks `item.stock === 0` and then later decrements `item.stock` in two separate database operations. This is a classic **Time-Of-Check / Time-Of-Use (TOCTOU) race...
# Problem The `LeaderboardPage` fetches up to 50 entries and displays them in a table, but provides **no search box or filter controls**. In communities with more than ~20 members,...
# Problem The `POST /api/tasks/:taskId/submissions` backend endpoint accepts a `links` array field (alongside `content`), intended for submitters to attach reference URLs such as GitHub repositories, live demos, or video recordings....
# Problem The `Navbar.jsx` component contains multiple links that point to the **old `/dashboard` route**, which was renamed to `/app` in the current codebase. Additionally, the mobile hamburger button is...
# Problem The Gamify repository currently has a `deploy.yml` workflow that only runs on pushes to `main` to deploy to Cloudflare. There is **no CI workflow** that validates code quality...
In server/controllers/shopController.js, the purchaseItem function fetches the item with findById, checks item.stock === 0 to decide if it is out of stock, then later in the same function decrements item.stock...
## Summary Improve the authentication forms by adding client-side validation and preventing duplicate form submissions during login and registration. ## Problem Currently, users may be able to submit authentication forms...