Supposing I have requirements:
- Register by email
- Register by social network
- Login by email
- Login by social network
- Logout
- Get my Profile
- Edit my Profile
- Get some user profile
- List my friends
- List some user friends
- Invite friends from social network
- Add product
- Edit product
- Search Product
- List my products
- List some user products
How should be endpoints REST API structure?