Open niksolaz opened 8 years ago
We need an intial version of the API for AskMe
Connect MongoDB to the API
Use express for a simple api
/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
Partially implemented!
We need an intial version of the API for AskMe