- React.js
- Node.js
- Express.js
- React Bootstrap
Base Url => heroku/api
| Route | HTTP Verb | Description |
|---|---|---|
/signup |
POST | Register in the database and redirect to the profile |
/login |
POST | Go to the user profile |
/loggedIn |
GET | Keep the session logged in |
/logout |
POST | Log out and redirect to home page |
/profile |
GET | Go to the user profile |
/profile/edit/:id |
PUT | Edit the user profile |
/profile/delete/:id |
POST | Unsubscribe user account |
/wave |
GET | Show places with waves in list or on map |
/wave/details/:wave_id |
GET | Show wave details |
/wave/new |
POST | Create wave in DB and redirect to waves component |
/wave/edit/:wave_id |
PUT | Edit the wave |
/wave/delete/:wave_id |
POST | Delete the wave |
username- Stringpassword- Stringdescription- Stringavatar- Stringrole- String
title- Stringdescription- Stringimage- Stringlocation- Stringtype- StringseaBed- StringswellDirections- StringwindDirections- StringswellRange- StringswellConsistency- Stringcrowd- Stringquality- NumbercreatedBy- mongoose.Schema.Types.ObjectId
writtenBy- mongoose.Schema.Types.ObjectIdwave- mongoose.Schema.Types.ObjectIddescription- Stringtitle- String
- Carlos Prado - Github Page
- Eva Vírseda - Github Page
