This is a simple aplication to track Foodtruck digital rewards. A user can create a reward, read value of a reward, update the reward, and delete the reward.
Foodtruck Rewards contain the following technologies:
MERN Stack
- Mongo DB
- Express
- React.js
- Node.js
V2. will need to add the actual rewards point system.
Started with what the resource would be and how I would CRUD on that resource. I then decided that the resource should be a digital reward card that users will create to track points. The routes where then created along with user stories, ERD, and wireframe.
Method | Path | Action | CRUD |
---|---|---|---|
POST | /reward | create | Create |
GET | /reward | index | Read |
GET | /reward/id | show | Read |
PATCH | /reward/:id | update | Update |
DELETE | /reward/id | destroy | Delete |
- As a customer, I want to sign up so that I can earn food truck rewards.
- As a customer, I want to sign in so that I can can manage my rewards
- As a customer, I want to change my password so that I can keep my account secure
- As a customer, I want to sign out so that no one has access to my rewards
- As a customer, I want to create a rewards card so that I can earn points
- As a customer, I want to read my rewards card so that I can points earned
- As a customer, I want to update my rewards card so that I can reach the reward
- As a customer, I want to delete my rewards card after I have earned reward