Thanks to visit codestin.com
Credit goes to github.com

Skip to content

sshmo/Social_network

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Network

A simple, Twitter-like social network that allows users to make posts, follow other users, and “like” posts.

The code is in Python, JavaScript, HTML, and CSS.

Main_page

List of most important tools used in this project are :

  • Django templates for rendering html page with a back-end context.

  • Django forms to build forms and valide them.

  • Django models to store the necessary data for the web application.

  • Django’s Paginator for implementing pagination on the back-end.

  • Bootstrap’s Pagination for displaying pages on the front-end.

  • JavaScript fetch calls (using GET and PUT requests) to asynchronously edit or like/unlike posts.

App features:

  • New Post: Users who are signed in can write a new text-based post by filling in text into a text area and then clicking a button to submit the post.

  • All Posts: The “All Posts” link in the navigation bar takes the user to a page where they can see all posts from all users, with the most recent posts first.

  • Profile Page: Clicking on a username loads that user’s profile page.

  • Following: The “Following” link in the navigation bar takes the user to a page where they see all posts made by users that the current user follows.

  • Pagination: On any page that displays posts, the posts are displayed 10 on a page.

  • Edit Post: : Users can click an “Edit” button on any of their own posts to edit that post.

  • “Like” and “Unlike”: Users scan click a button on any post to toggle whether or not they “like” that post.

About

A simple, Twitter-like social network in Python, JavaScript, and SQL using Django and Bootstrap frameworks.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors