Link to site: https://whats-that.herokuapp.com/
Whats That!? is a platform where we connect our users to actual e-commerce websites on a single click and offer rewards to our users which they can redeem via a reward points system.
- User can upload photos, with title, description, and tag brands on their photo
- User can like and comment on other user's photos
- User can follow other users
- User can earn points from uploaded photos
- User can see how many points each photo earn them and their total available points
- User can spend points at the store, discounts or actual items
- Each photo will link to the brands displayed in the photos
- User can search photos by brand and other users
- Brand registry (by admin)
- Reward registry (by admin)
Pages
- homepage
- profile pages (users, brands)
- Devise pages
- login
- register
- edit email, password
- upload page
- store (to spend points)
- welcome controller
- photos controller
- messages controller
- rewards controller
- followers controller
- users controller <-- using devise
welcome controller
- Homepage (shows featured photos)
photos controller
- photos
- GET When photo is clicked (on homepage/profile page), pop up larger image with links, messages, likes
messages controller
- messages
- GET show messages
rewards controller
- GET view rewards
devise
- GET (new) Login --> log in-ed Homepage
- POST (create) Register --> log in-ed Homepage
- GET (index) Profile --> see others profile, list all photos of that profile
welcome controller
- Homepage (show followed photos)
- photos
- GET When photo is clicked (on homepage/profile page), pop up larger image with links, messages, likes
- messages
- POST (create) Message
users Controller
- PATCH (update) Edit Profile page --> Update profile photo, change password, change email
profile Controller
- If personal
- Profile --> if personal, see all points earned, edit details
- photos
- POST (create) Upload --> create an upload
- GET When photo is clicked (on homepage/profile page), pop up larger image with links, messages, likes
- DELETE (destroy) button to delete an upload
- messages
- POST (create) Message
- Else if other's profile
- photos
- GET When photo is clicked (on homepage/profile page), pop up larger image with links, messages, likes
- messages
- POST (create) Message
- photos
1a. Homepage
1b. Homepage alternative
2a. Photo page
2a. Photo page alternative
Profile page
Install dependencies
bundle Install
Set up Database
rails db:create
rails db:migrate
Ruby on Rails, PostgreSQL, ERB