This project is my submit for predict systems reviewing process
- Django Auth
- Django rest framework
Project ENDPOINTS ''' Users Sign Up '''
- http://127.0.0.1:8000/profile/signup ''' Users Sign In '''
- http://127.0.0.1:8000/profile/signin ''' Users Sign Out '''
- http://127.0.0.1:8000/profile/logout
''' Users create post(POST), view all post(GET) '''
- http://127.0.0.1:8000 ''' Post Owners Update Post(PUT), Delete Post(DELETE) '''
- http://127.0.0.1:8000/1 ''' Users Like Post and unlike post if already liked '''
- http://127.0.0.1:8000/like/1
The following test passed when ran:
-
test for sign up
-
test for sign in
-
test for create post
-
test for delete post
-
test for edit post
-
test to get all post