{"id":22867047,"url":"https://github.com/bevinaa/social-media-web-application","last_synced_at":"2026-04-05T21:01:43.205Z","repository":{"id":252160975,"uuid":"839609701","full_name":"Bevinaa/Social-Media-Web-Application","owner":"Bevinaa","description":"Social Media Web Application is an interactive platform designed for users to connect, share, and engage with content in a dynamic online environment","archived":false,"fork":false,"pushed_at":"2024-08-28T03:21:06.000Z","size":5227,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-06T15:02:24.455Z","etag":null,"topics":["css","data-structures","flask","html","javascript","python"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/Bevinaa.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-08-08T01:07:22.000Z","updated_at":"2024-08-28T03:21:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"cceea3d5-7e96-4882-8d5d-cb46ccbe5594","html_url":"https://github.com/Bevinaa/Social-Media-Web-Application","commit_stats":null,"previous_names":["bevinaa/social-media-web-application"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bevinaa%2FSocial-Media-Web-Application","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bevinaa%2FSocial-Media-Web-Application/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bevinaa%2FSocial-Media-Web-Application/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bevinaa%2FSocial-Media-Web-Application/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Bevinaa","download_url":"https://codeload.github.com/Bevinaa/Social-Media-Web-Application/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246453859,"owners_count":20780029,"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":["css","data-structures","flask","html","javascript","python"],"created_at":"2024-12-13T12:18:23.970Z","updated_at":"2025-10-05T21:46:50.475Z","avatar_url":"https://github.com/Bevinaa.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Social Media Application Using Python Flask\n\nThis is a social media web application built using Flask. It allows users to sign up, log in, create posts, upload images, and follow other users. The app also implements various data structures for user interaction and maintains a user's social connections.\n\n## Features\n\n- **User Authentication:** Users can sign up, log in, and manage their accounts.\n- **Post Creation:** Users can create posts with captions and upload images.\n- **Social Features:** Users can follow and be followed by others. Notifications are sent when someone gains a follower.\n- **Profile Management:** Users can view their profiles, see their followers, following counts, and upload profile pictures.\n\n## Setup and Installation\n\n1. **Clone the repository:**\n   ```bash\n   git clone https://github.com/bevinaa/Social-Media-Web-Application.git\n   ```\n   \n2. **Install dependencies:**\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n3. **Run the application:**\n   ```bash\n   python app.py\n   ```\n\n4. **Access the app:**\n   Visit `http://localhost:5000` in your web browser.\n\n## File Structure\n\n- **app.py:** The main application file containing all the routes and logic.\n- **templates/:** Directory containing HTML files for rendering different pages.\n- **uploads/:** Directory for storing uploaded images.\n\n## Key Routes\n\n- `/`: Home page\n- `/login`: User login\n- `/signup`: User registration\n- `/create_account`: Final step for account creation\n- `/my_feed/\u003cuser_id\u003e`: User feed page\n- `/my_profile/\u003cuser_id\u003e`: User profile page\n- `/add_post`: Create a new post\n- `/follow/\u003cfollowed_user_id\u003e`: Follow another user\n- `/upload_profile_pic`: Upload profile picture\n\n## Data Persistence\n\nUser data, posts, usernames, and emails are stored using pickle files:\n\n- **user_data.pkl:** Stores user information such as ID, name, email, etc.\n- **usernames.pkl:** Stores registered usernames.\n- **emails.pkl:** Stores registered email addresses.\n- **user_posts.pkl:** Stores user posts.\n\n## Image Uploads\n\nImages uploaded by users are stored in the `uploads/` directory, and secure filenames are generated using `werkzeug.utils.secure_filename`.\n\n## Notifications\n\nThe application uses session-based notifications to alert users of new followers.\n\n## Contributions\n\nFeel free to fork this repository and submit pull requests to contribute to the project.\n\n## Contact\n\nFor questions or further information, please contact:\n\n- **Name:** Bevina R\n- **Email:** bevina2110@gmail.com\n- **GitHub:** https://github.com/Bevinaa\n\n## Output of the Project \n\n![Screenshot 2024-06-09 221535](https://github.com/user-attachments/assets/90a2b03c-8b19-417e-9077-7d4c775a39bd)\n\n![Screenshot 2024-06-09 221707](https://github.com/user-attachments/assets/386741ce-a3d7-4a6a-b53b-8cd894105c51)\n\n![Screenshot 2024-06-09 221849](https://github.com/user-attachments/assets/6ed29b87-6c03-43ff-a25f-1dae53276db5)\n\n![Screenshot 2024-06-09 221949](https://github.com/user-attachments/assets/ee546bc1-b09f-4dab-97c2-19ed43651213)\n\n![Screenshot 2024-06-09 222044](https://github.com/user-attachments/assets/c9b47816-f64f-4367-9812-60ec30ef3ed6)\n\n![Screenshot 2024-06-09 222142](https://github.com/user-attachments/assets/3021b49e-ef57-44ee-ab99-40308207a5ef)\n\n![Screenshot 2024-06-09 222219](https://github.com/user-attachments/assets/dd1691b9-ad54-4a17-815d-36e5e6cf846d)\n\n![Screenshot 2024-06-09 222354](https://github.com/user-attachments/assets/69996e90-25b4-4906-8d87-33679bb7fb7d)\n\n![Screenshot 2024-06-09 222549](https://github.com/user-attachments/assets/c283b759-8aef-44d1-ab15-63bdfdb16317)\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbevinaa%2Fsocial-media-web-application","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbevinaa%2Fsocial-media-web-application","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbevinaa%2Fsocial-media-web-application/lists"}