khabizat / Buy-Sell-Listing-Website

Buy/Sell Listing Website Group midterm project with @SydannyOpal and @mdzwink
0 stars 0 forks source link

Routes #6

Open SydannyOpal opened 2 years ago

SydannyOpal commented 2 years ago

No matter the tech stack, your app will have routes that will give data to the user. It could be a form of a views or it could be a form of data ( api ). Start thinking of some of the routes that you may have in your app. Again user stories will help you out here.

As a user I want to be able to create short urls by adding long url and app generating a short url


POST  /urls          # to save a new url
GET   /urls          # to see all the urls    ```
khabizat commented 2 years ago

GET /

to see main feed with featured items

GET /filter

to see filtered items

POST /favourites

to add to favourites

GET /favourites

to see favourites

POST /messages

to send messages

POST /new

to add new item

POST /remove

to remove item

POST /sold

to mark as sold