This is an app that allows users to redeem rewards.
# First, install dependencies
npm run setup
# Then, run the app
npm run dev
# Finally, open the app in your browser: http://localhost:3000
- Prize Listing
- Prize Details
- Redeem the Prize ~ A User can only redeem a given prize if it has a stock once
- Login & Registration System
- Concurrent redeeming of prize ~ Multiple users can redeem the prize if stock is available
- Vue 3 - Typescript - Bootstrapped with Vite
- TailwindCSS - Utility CSS classes
- Node.js - Backend programming language
- Fastify - Typescript - Backend framework
- MongoDB - Database
- Mongoose - ORM
- MongoDB Atlas - Production database (Running on a free cluster)
- Heroku - Frontend and Backend applications are both deployed here
- Lerna - To manage the Frontend and Backend seamlessly in a single repo
# First of all, create the remote branches:
git remote add heroku-app https://git.heroku.com/resman-rewards-app.git
git remote add heroku-api https://git.heroku.com/resman-rewards-api.git
# Then, build the applications
npm run build
# Deploy the App
git subtree push --prefix packages/app heroku-app main
# Deploy the Api
git subtree push --prefix packages/api heroku-api main