npm install express ejs express-ejs-layouts express-session sequelize
mysql -u root
create database gosocialdb;
create user gosocialuser identified with mysql_native_password by 'gosocialpassword';
grant all privileges on gosocialdb.* to gosocialuser;
flush privileges;
-
Users
-
POST /api/users
-
GET /api/users/{userID}
-
-
Posts
-
POST /api/posts
-
GET /api/posts/
-
GET /api/posts/{postId}
-
Comments
- [x] POST /api/comments
- [x] GET /api/comments/{postId}