- Michelle Lin
- Art Assets by Tianyi Tracy Zhang
We want to create a candy machine, where users can draw candies from the machine. Every time they click on the machine, different candy will display. User can drop candies into the candy machine by writing a candy note and choose a candy wrap (background color) for other people to explore. Users can also search all candies they've drop into the candy machine by providing the username, they can delete their own candy but not others.
- firebase
- vue.js
- Candy Machine
- users click on candy machine to get a ramdom candy in candies poll.
- candy should display as a modal, with a correct candy wrap (background color) users selected when they drop the candy.
- Drop a Candy
- a form to submit a candy to add to database
- users can enter a username, a note for candy, and choose a candy wrap
- inputs can not be empty
- Search
- users should be able to see all candies they've drop into the candy machine by entering their username
- users can delete their own candy wrap but can not delete others.
- Production README
- description of the app
- username: string
- id : string
- wrap: integer
- body: string
[ {"username": "Michelle", id: "1habhw123", wrap: 1, body: "Hi, this is a note for you"}, {"username": "Michelle", id: "3haqww283", wrap: 4, body: "Have a good night"}, {"username": "Tracy", id: "3abqw713", wrap: 2, body: "Hi, Michelle"} ]