{"id":18266108,"url":"https://github.com/alexandrabaturina/network","last_synced_at":"2026-05-02T02:39:05.275Z","repository":{"id":119258626,"uuid":"294278032","full_name":"alexandrabaturina/network","owner":"alexandrabaturina","description":"Twitter-like social network website for making posts and following users","archived":false,"fork":false,"pushed_at":"2020-09-29T17:45:14.000Z","size":102,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-14T20:38:42.416Z","etag":null,"topics":["bootstrap","django-backend","javascript-frontend"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alexandrabaturina.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-10T02:10:17.000Z","updated_at":"2023-04-03T10:18:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"c46899a3-0cdf-4fb1-909d-1a324005dfb9","html_url":"https://github.com/alexandrabaturina/network","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexandrabaturina%2Fnetwork","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexandrabaturina%2Fnetwork/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexandrabaturina%2Fnetwork/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexandrabaturina%2Fnetwork/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexandrabaturina","download_url":"https://codeload.github.com/alexandrabaturina/network/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247958722,"owners_count":21024829,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bootstrap","django-backend","javascript-frontend"],"created_at":"2024-11-05T11:21:48.349Z","updated_at":"2026-05-02T02:39:05.242Z","avatar_url":"https://github.com/alexandrabaturina.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Project 4: Network\n## Overview\nThe current repo contains project called **network** which is Twitter-like social network website for making posts and following userse built with *Django* framework.\n\nThis project is built as Project 4 for [CS50W 2020 course](https://courses.edx.org/courses/course-v1:HarvardX+CS50W+Web/course/) provided by edX platform.\n\n## Features\nThe project meets the following requirements.\n* **New Post**  \n  Users who are signed in are able to write a new text-based post by filling in text into a text area and then clicking a button to submit the post.\n  \n![image](https://user-images.githubusercontent.com/53233637/94591840-712d8000-023d-11eb-96f4-ea5ae005f8f2.png)\n  \n* **All Posts**  \n  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.\n  * Each post includes the username of the poster, the post content itself, the date and time at which the post was made, and the number of \"likes\" the post has.\n  \n![image](https://user-images.githubusercontent.com/53233637/94595952-51e42200-0240-11eb-8c1d-43a4ab851a62.png)\n  \n* **Profile Page**  \n  Clicking on a username loads that user’s profile page. This page should:\n    * Display the number of followers the user has, as well as the number of people that the user follows.\n    * Display all of the posts for that user, in reverse chronological order.\n    * For any other user who is signed in, this page should also display a \"Follow\" or \"Unfollow\" button that will let the current user toggle whether or not they are following this user’s posts. This only applies to \"other\" users: a user is not be able to follow themselves.\n    \n![image](https://user-images.githubusercontent.com/53233637/94592311-cf5a6300-023d-11eb-8afe-c21c41765f34.png)\n\n* **Following**  \n  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.\n  * This page behaves just as the \"All Posts\" page does, just with a more limited set of posts.\n  * This page is only available to users who are signed in.\n  \n ![image](https://user-images.githubusercontent.com/53233637/94594165-4ee83200-023e-11eb-94d2-9bfa4d2631bc.png)\n  \n* **Pagination**  \n  On any page that displays posts, posts are only displayed 10 on a page. If there are more than ten posts, a \"Next\" button appears to take the user to the next page of posts (which should be older than the current page of posts). If not on the first page, a \"Previous\" button appears to take the user to the previous page of posts as well.\n\n![image](https://user-images.githubusercontent.com/53233637/94595083-2f053e00-023f-11eb-8810-a5fc9aab11d7.png)\n\n* **Edit Post**  \n  Users are able to click an \"Edit\" button or link on any of their own posts to edit that post.\n  * When a user clicks \"Edit\" for one of their own posts, the content of their post is replaced with a textarea where the user can edit the content of their post.\n  * The user is then able to \"Save\" the edited post.\n  \n![image](https://user-images.githubusercontent.com/53233637/94595512-ca96ae80-023f-11eb-9886-0196bcee023d.png)\n\n![image](https://user-images.githubusercontent.com/53233637/94595608-ec903100-023f-11eb-83c3-c0e13f87e9a8.png)\n  \n* **\"Like\" and \"Unlike\"**  \n  Users are able to click a button or link on any post to toggle whether or not they \"like\" that post.\n## Dependencies\nThe app is built using *Django* framework. To install *Django* via terminal, use the following command.\n```sh\n$ pip3 install Django\n```\n## Getting Started\n### Running Locally\nTo run **network** locally,\n1. Clone this repo.\n2. ```cd``` into project directory.\n3. Start the *Django* web server.\n```sh\n$ python manage.py runserver\n```\n4. Access ```127.0.0.1:8000``` in your browser.\n### Resetting a Database\nThe repo contains test database. To reset database,\n1. Delete *db.sqlite3* file.\n2. Run the following command.\n```sh\n$ python manage.py flush\n```\n## Authors\nAlexandra Baturina\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexandrabaturina%2Fnetwork","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexandrabaturina%2Fnetwork","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexandrabaturina%2Fnetwork/lists"}