OnlyPlants is a virtual environments wherein plant parents can track, learn about, and share their plants with others
- Homepage - Learn what to expect from the app just by viewing the homepage
- Sign Up/Login/Logout - Easily create a user profile, access it, and log out from it
- Profile page - See all my plant babies and all the plants of my friends/colleagues/people I'm plant-sitting for as well
- Rooms - Create, edit, and delete rooms and easily fill them with virtual vegetation
- Plants - Add, edit, and - if unable to resuscitate - remove plants from any of my rooms
List of backlog features
- Create additional rooms
- See weather conditions in user location in order to adjust plantcare accordingly
- Upload/edit user/plant avatars
- Profile info
- View friend's profile
- GET/ - Renders homepage/If user logged in, renders user profile
- GET/auth/signup - Renders signup form/Redirects to profile if user logged in
- POST/auth/signup - Redirects to log in page/Body: firstName, lastName, dateOfBirth, avatarUrl, gender, location, username, email, bio, password, passwordCheck
- GET/auth/login - Renders login form/Redirects to profile if user logged in
- POST/auth/login - Redirects to user profile page/Body: username, password
- POST/auth/logout
- GET/profile/username - Renders user profile, user rooms, user/friend's plants/fetches weather API
- GET/profile/username/edit - Renders user edit page
- POST/profile/username/edit - Redirects to profile/Body: firstName, lastName, dateOfBirth, avatarUrl, location, bio
- GET/rooms - Renders rooms page
- GET/create - Renders room create form
- POST/create - Redirects to rooms page/Body: name, slug, ownerId
- GET/roomId - Renders rooms page
- GET/roomId/edit - Renders room edit page
- POST/roomId/edit - Redirects to room detail page/Body: name, inviteesList
- POST/roomId/delete - Redirects to rooms page
- GET/create - Renders plant create page
- POST/create - Redirects to user profile page/Body: name, nickname, room, image_url
- GET/plants/details/id - Renders plant details page
- GET/plants/edit/id - Renders plant edit page
- POST/plants/edit/id - Redirects to plant details page/Body: nickname, room, image_url
- POST/plants/delete/id - Redirects to user profile profile page
User model
- username
- firstName
- lastName
- gender
- avatarUrl
- dateOfBirth
- location
- bio
- passwordHash
- rooms
- plants
- timestamps
Room model
- name
- slug
- ownerId
- inviteesId
- plants
Plant model
- nickname
- parent
- room
- commonName
- image_url
- light
- toleratedLight
- waterSchedule
- minTemp
- maxTemp
- latinName
Trello board that we totally kept up with