Skip to content
This repository has been archived by the owner on Oct 29, 2023. It is now read-only.

Commit

Permalink
Updating README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ProgramingIsTheFuture authored and ProgramingIsTheFuture committed Feb 8, 2022
1 parent e984c31 commit 2f0234f
Show file tree
Hide file tree
Showing 19 changed files with 99 additions and 49 deletions.
Binary file added .github/chat.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/edit_profile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/friends_list.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/login.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/navbar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/notifications_page.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/post_creator.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/post_image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/post_noimg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/profile_header.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/register.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/settings_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/settings_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/stories.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/story_preview_sample.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/try_delete.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/users_posts_search.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
47 changes: 47 additions & 0 deletions Endpoints.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Endpoints

All Endpoints from django application

<ul>
<h1>Endpoints</h1>
<h2>localhost:8000</h2>
<li>/auth <span>Get the JWT Token</span></li>
<h2>/api/</h2>
<ul>
<h2>posts/</h2>
<li><h3>list-posts/</h3> <span>Get a list of all posts from people I follow</span></li>
<li><h3>get-user-posts/</h3> <span>Get a list of all posts a unique user</span></li>
<li><h3>create-posts/</h3> <span>Create a new Post</span></li>
<li><h3>delete-post/</h3> <span>Delete a post if i'm the owner</span></li>
<li><h3>like-unlike-posts/</h3> <span>Like or Remove the like from a unique post</span></li>
<li><h3>check-like-post/</h3> <span>check if i have my like in a certain post</span></li>
<li><h3>search-user-post/</h3> <span>send the request with ?search=<value> to look for a post</span></li>
</ul>
<ul>
<h2>users/</h2>
<li><h3>create/</h3> <span>Create a user with all fields</span></li>
<li><h3>change-password/</h3> <span>change the password<span></li>
<li><h3>get-user/</h3> <span>returns the username from the guy that send the token<span></li>
<li><h3>login/</h3> <span>Login a user</span></li>
<li><h3>logout/</h3> <span>logout the user</span></li>
</ul>
<ul>
<h2>profile/</h2>
<li><h3>get-profile/</h3> <span>get the users profile with the username</span></li>
<li><h3>search-profile/</h3> <span>send the request with ?search=<value> to look for a profile</span></li>
<li><h3>follow-unfollow/</h3> <span>To follow or unfollow a user</span></li>
<li><h3>check-follow-profile/</h3> <span>Checks if the user is already been followed</span></li>
<li><h3>edit-my-profile/</h3> <span>Edit your own profile</span></li>
</ul>
<ul>
<h2>chat/</h2>
<li><h3>all-messages/</h3> <span>get all the messages</span></li>
<li><h3>list-users/</h3> <span>List the users that i'm following or that sent me a message</span></li>
<li><h3>list-notifications/</h3> <span>List all my notifications</span></li>
</ul>
<ul>
<h2>stories/</h2>
<li><h3>post-storie/</h3> <span>create a new storie</span></li>
<li><h3>list-stories/</h3> <span>List the stories available for that user</span></li>
</ul>
</ul>
101 changes: 52 additions & 49 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,52 +2,55 @@

### My Personal SocialMedia

###### In this social network we will be able to make post so that our friends can see.

###### We can Post images, text. we can like posts and comment it. Follow our freinds, and be followed by them.

###### Each user will have their own profiles and will be able to change it how ever he want.

<ul>
<h1>Endpoints</h1>
<h2>localhost:8000</h2>
<li>/auth <span>Get the JWT Token</span></li>
<h2>/api/</h2>
<ul>
<h2>posts/</h2>
<li><h3>list-posts/</h3> <span>Get a list of all posts from people I follow</span></li>
<li><h3>get-user-posts/</h3> <span>Get a list of all posts a unique user</span></li>
<li><h3>create-posts/</h3> <span>Create a new Post</span></li>
<li><h3>delete-post/</h3> <span>Delete a post if i'm the owner</span></li>
<li><h3>like-unlike-posts/</h3> <span>Like or Remove the like from a unique post</span></li>
<li><h3>check-like-post/</h3> <span>check if i have my like in a certain post</span></li>
<li><h3>search-user-post/</h3> <span>send the request with ?search=<value> to look for a post</span></li>
</ul>
<ul>
<h2>users/</h2>
<li><h3>create/</h3> <span>Create a user with all fields</span></li>
<li><h3>change-password/</h3> <span>change the password<span></li>
<li><h3>get-user/</h3> <span>returns the username from the guy that send the token<span></li>
<li><h3>login/</h3> <span>Login a user</span></li>
<li><h3>logout/</h3> <span>logout the user</span></li>
</ul>
<ul>
<h2>profile/</h2>
<li><h3>get-profile/</h3> <span>get the users profile with the username</span></li>
<li><h3>search-profile/</h3> <span>send the request with ?search=<value> to look for a profile</span></li>
<li><h3>follow-unfollow/</h3> <span>To follow or unfollow a user</span></li>
<li><h3>check-follow-profile/</h3> <span>Checks if the user is already been followed</span></li>
<li><h3>edit-my-profile/</h3> <span>Edit your own profile</span></li>
</ul>
<ul>
<h2>chat/</h2>
<li><h3>all-messages/</h3> <span>get all the messages</span></li>
<li><h3>list-users/</h3> <span>List the users that i'm following or that sent me a message</span></li>
<li><h3>list-notifications/</h3> <span>List all my notifications</span></li>
</ul>
<ul>
<h2>stories/</h2>
<li><h3>post-storie/</h3> <span>create a new storie</span></li>
<li><h3>list-stories/</h3> <span>List the stories available for that user</span></li>
</ul>
</ul>
#### In this social network we will be able to make post so that our friends can see.

#### We can Post images, text. we can like posts and comment it. Follow our freinds, and be followed by them.

#### Each user will have their own profiles and will be able to change it how ever he want.

Here are some photos showing how the app is.

##### Create posts:
![](./.github/post_creator.png)

##### Post without image:
![](./.github/post_noimg.png)

##### Post with image:
![](./.github/post_image.png)

##### Delete feedback:
![](./.github/try_delete.png)

##### Profile Header:
![](./.github/profile_header.png)

##### Edit profile:
![](./.github/edit_profile.png)

##### Search for posts or users:
![](./.github/users_posts_search.png)

##### Navigation:
![](./.github/navbar.png)

##### Friends List:
![](./.github/friends_list.png)

##### Friends Chat:
![](./.github/chat.png)

##### Notifications page:
![](./.github/notifications_page.png)

##### Authentication pages:
![](./.github/register.png)
![](./.github/login.png)

##### Settings page:
![](./.github/settings_1.png)
![](./.github/settings_2.png)

##### Stories:
![](./.github/stories.png)
![](./.github/story_preview_sample.png)

0 comments on commit 2f0234f

Please sign in to comment.