Describe your project in one/two lines.
- 404: As an anon/user I can see a 404 page if I try to reach a page that does not exist so that I know it's my fault
- Signup: As an anon I can sign up in the platform so that I can start saving favorite restaurants
- Login: As a user I can login to the platform so that I can see my favorite restaurants
- Logout: As a user I can logout from the platform so no one else can use it
- Add Restaurants As a user I can add a restaurant so that I can share it with the community
- List Restaurants As a user I want to see the restaurants so that I can choose one to eat
- Search Restaurants As a user I want to search restaurants by name so that I know if it´s already in the platform
- Add to favorites As a user I want to add a restaurant to favorite so that I can save the restaurants that I liked the most
- See my favorites As a user I want to see my favorite restaurantes so that I can see the ones I liked the most
User profile:
- see my profile
- upload my profile picture
- see other users profile
- list of events created by the user
- list events the user is attending
Geo Location:
- add geolocation to events when creating
- show event in a map in event detail page
- show all events in a map in the event list page
Homepage:
- ...
url | public | Functionality |
---|---|---|
/ |
true | landing page |
/signup |
true | Signup user |
/login |
true | login user |
/profile |
false | profile of user |
- Auth Service
- auth.login(user)
- auth.signup(user)
- auth.logout()
- auth.me()
- auth.getUser() // synchronous
- Restaurant Service
- restaurant.list()
- restaurant.search(terms)
- restaurant.create(data)
- restaurant.detail(id)
- restaurant.addFavorite(id)
- restaurant.removeFavorite(id)
User model
username - String // required
email - String // required & unique
password - String // required
favorites - [ObjectID<Restaurant>]
Restaurant model
owner - ObjectID<User> // required
name - String // required
phone - String
address - String
Method | Route | Functionality |
---|---|---|
GET | api/auth/me | Check session status |
POST | api/auth/signup | Log in user to app and set user to session (Body: username, password) |
POST | api/auth/login | Register user to app and set user to session (Body: username, password) |
POST | api/auth/logout | Log out user from app and remove session |
Link to your trello board or picture of your physical board
The url to your repository and to your deployed project
The url to your presentation slides