connected backend to frontend for writing microblogs

This commit is contained in:
Aditya Sankaran
2019-09-30 18:06:23 -04:00
parent b1faacd312
commit 55dc62e57e
5 changed files with 39 additions and 7 deletions

View File

@@ -19,7 +19,8 @@ const {
// post routes
app.post('/putPost', FBauth, putPost);
//app.post('/putPost', FBauth, putPost);
app.post('/putPost', putPost);
// users routes
app.get('/getUser/:handle', getUserDetails);