niksolaz / askme

ask a question and get answer
MIT License
0 stars 0 forks source link

API for AskMe #3

Open niksolaz opened 8 years ago

niksolaz commented 8 years ago

We need an intial version of the API for AskMe

niksolaz commented 8 years ago

Connect MongoDB to the API

niksolaz commented 8 years ago

Use express for a simple api

niksolaz commented 8 years ago

/search?q= => Search /trending /writingnow

/notifications/

/login => Login /logout => Logout

/profile/ => Profile /profile//questions => Questions /profile//all_posts => All Posts /profile//activity => Activity /profile//followers => Followers /profile//following => Following /profile//follow => Follow /profile//log => Log

/answers /answers/ => Answer /answers//upvote => Upvote an answer /answers//downvote => Downvote an answer /answers//comment => Comment an answer /answers//share/fb/ => Facebook /answers//share/twitter/ => Twitter /answers//share/copy_link/ => Copy Link

/questions /questions/ => Answer /questions//upvote => Upvote an answer /questions//downvote => Downvote an answer /questions//answers => Answers /questions//comment => Comment an answer /questions//share/fb/ => Facebook /questions//share/twitter/ => Twitter /questions//share/copy_link/ => Copy Link /questions//follow

niksolaz commented 8 years ago

Partially implemented!