@@ 20,12 20,28 @@ curl http://localhost:3000/2
curl -i -XPOST http://localhost:3000/api/comment -H "Content-Type: application/json" -d '{"title": "hello", "comment": "hey", "zodiac": "Aries", "mbti": "INFP", "enneagram": "1w2", "profile_id": "2", "commenter_id": "3"}'
```
+## Like / Unlike a comment
+
+```
+curl -i -XPOST 'http://localhost:3000/api/comment/<commentId>/like' -H 'Content-Type: application/json' -d '{"liker_profile_id": "2"}'
+```
+
+```
+curl -i -XPOST 'http://localhost:3000/api/comment/<commentId>/unlike' -H 'Content-Type: application/json' -d '{"liker_profile_id": "2"}'
+```
+
## Run test
```
npm run test
```
+## Start server
+
+```
+npm run start
+```
+
## Known issues:
1. The app might not work with OS that doesn't ship with libcrypto version 1.1
2. Unique index in mongo memory server doesn't seem to work.=
\ No newline at end of file