{"id":24200013,"url":"https://github.com/elhussin/network","last_synced_at":"2026-05-02T11:42:56.094Z","repository":{"id":224113942,"uuid":"761709127","full_name":"Elhussin/network","owner":"Elhussin","description":"Network App, Built with cutting-edge technology, this platform combines the power of Django on the backend and JavaScript on the frontend to deliver a seamless, user-friendly experience. Users can create posts, follow other users, like and comment on posts, and view a feed of posts from users they follow","archived":false,"fork":false,"pushed_at":"2024-12-10T05:31:27.000Z","size":833,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-03T09:30:48.647Z","etag":null,"topics":["api","django","html-css-javascript","network","python","web-development"],"latest_commit_sha":null,"homepage":"https://network-ru2r.onrender.com/\"","language":"JavaScript","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/Elhussin.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":"2024-02-22T10:43:33.000Z","updated_at":"2024-12-22T11:20:35.000Z","dependencies_parsed_at":"2025-01-13T20:40:40.515Z","dependency_job_id":"754f096c-a3c0-4d95-9530-1c88e4b42da0","html_url":"https://github.com/Elhussin/network","commit_stats":null,"previous_names":["elhussin/network"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Elhussin/network","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Elhussin%2Fnetwork","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Elhussin%2Fnetwork/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Elhussin%2Fnetwork/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Elhussin%2Fnetwork/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Elhussin","download_url":"https://codeload.github.com/Elhussin/network/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Elhussin%2Fnetwork/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27351407,"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","status":"online","status_checked_at":"2025-11-29T02:00:06.589Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["api","django","html-css-javascript","network","python","web-development"],"created_at":"2025-01-13T20:40:32.945Z","updated_at":"2025-11-29T13:04:25.608Z","avatar_url":"https://github.com/Elhussin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Network App\n\nThis repository contains the server-side Django application and the client-side JavaScript code for a social network app.\n\n## Server Side (Django App)\n\n### Functions:\n\n#### User Management:\n\n- **User Registration, Login, and Logout**: \n  - Django: `login_view`, `logout_view`, `register`\n- **User Profile Management**: \n  - Django: `usersProfile`, JavaScript: `usersProfile`\n- **Follow Functionality**: \n  - Django: `follow`, JavaScript: `follow`\n\n#### Content Creation and Management:\n\n- **Post Creation**: Create posts with text and potentially other media support. \n  - JavaScript: `add_post`\n- **Post Editing and Updating**: \n  - JavaScript: `editPost`, `UpdatePost`\n- **Post Viewing with Details and Comments**: \n  - Django: `view_post`, JavaScript: `get_post`\n\n#### Interactions:\n\n- **Adding Comments to Posts**: \n  - JavaScript: `addComment`\n- **Viewing Comments on Posts**: \n  - JavaScript: `commentView`\n- **Liking and Unliking Posts**: \n  - JavaScript: `updateLike`, `updateUnLike`\n\n#### Navigation and Pagination:\n\n- **Navigation Functionality**: Users can explore profiles and content.\n  - JavaScript: `getPath`\n- **Pagination**: For managing large amounts of data.\n  - Django: `paginate_data`, JavaScript: `generatePagination`, `PreviousPage`, `nextPage`\n- **Access to All Posts**: \n  - JavaScript: `viewAllPost`\n\n## Technologies:\n\n- **Backend**: Django (Python web framework)\n- **Frontend**: JavaScript\n\n## Installation\n\n1. Install Python - [Download Python](https://www.python.org/downloads/)\n2. Install `pip` (Python package installer) - usually comes with Python installation.\n\n### How to Use:\n\n1. Clone the repository to your local machine.\n\n   ```bash\n   git clone \u003chttps://github.com/Elhussin/network.git\u003e\n\n2. Set up the Django server-side application following the README in the django_app directory.\n\n```bash\ncd network  # Navigate to the Django project directory\npip install -r requirements.txt  # Install required Python dependencies\npython manage.py migrate  # Apply database migrations (if applicable)\n```\nStart the Django development server:\n\nbash\nStart the Django development server:\n\n```bash\npython manage.py runserver\n\n```\n\n### Usage:\n- **Register** for a new account to start using the platform.\n- **Log in** to access existing user features.\n- **Create posts** to share content with your network.\n- **Edit** or update your existing posts.\n- **View** profiles of other users and their posts.\n- **Follow** other users to stay updated with their activity.\n- **Comment** on posts to participate in discussions.\n- **Like** or unlike posts to express your interest.\n- **Navigate** through the application using the provided navigation features.\n- **Explore** all posts using the viewAllPost functionality.\n\n### Contributing\nIf you would like to contribute to this project, feel free to fork the repository and submit pull requests.\n\nServer Side (Django)\n1. Functions:\n2. usersProfile: Retrieve and display user profiles.\n3. follow: Allow users to follow other users.\n4. paginate_data: Paginate data to efficiently manage large amounts of content.\n5. view_post: View and display posts.\n6. login_view: Handle user login functionality.\n7. logout_view: Handle user logout functionality.\n8. register: Handle user registration.\n9. add_like: Allow users to like posts.\n10. un_like: Allow users to unlike posts.\n11. addComment: Allow users to add comments to posts.\n12. add_post: Allow users to add new posts.\n\n### Client Side (JavaScript)\n\n#### Functions:\n##### Functions:\n\n1. **usersProfile**: Display user profiles on the client-side.\n\n2. **sendPost**: Send new posts from the client-side.\n\n3. **editPost**: Edit existing posts.\n\n4. **updatePost**: Update existing posts.\n\n5. **addComment**: Add comments to posts from the client-side.\n\n6. **commentView**: View comments on posts.\n\n7. **updateLike**: Update likes on posts.\n\n8. **updateUnlike**: Update unlikes on posts.\n\n9. **getPath**: Retrieve paths for navigation.\n\n10. **follow**: Handle follow functionality on the client-side.\n\n11. **get_post**: Retrieve posts from the server.\n\n12. **generatePagination**: Generate pagination controls.\n\n13. **previousPage**: Navigate to the previous page of content.\n\n14. **nextPage**: Navigate to the next page of content.\n\n15. **viewAllPost**: View all posts on the client-side.\n\n\n## License\n\nThis project is open-source and available under the [MIT License](LICENSE).\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felhussin%2Fnetwork","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felhussin%2Fnetwork","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felhussin%2Fnetwork/lists"}