The Open Source Social Network Platform aims to develop a comprehensive social media system to facilitate and enhance open collaboration on projects. This platform provides features for user authentication, project management, and social interaction.
Before you begin, ensure you have met the following requirements:
- Python 3.8 or later
- PostgreSQL 12 or later
- Node.js and npm (for managing JavaScript dependencies)
git clone https://github.com/yourusername/opensource-social-network.git
cd opensource-social-networkpython3 -m venv venv
source venv/bin/activate # On Windows, use `venv\Scripts\activate`pip install -r requirements.txtnpm install- Start PostgreSQL server and create a database:
CREATE DATABASE awd_project;
CREATE USER postgres WITH PASSWORD '123';
GRANT ALL PRIVILEGES ON DATABASE awd_project TO postgres;- Start the Flask development server:
python app.py- Open your web browser and go to
http://127.0.0.1:5000.
-
User Authentication and Management
- User registration, login, and profile management.
- Password management including password changes.
- Integration with third-party authentication to allow users to log in using their existing social media accounts.
-
Project Management
- Create, manage, and view projects.
- File uploads and storage in designated directories.
- Display project details such as abstracts, upload dates, and like counts.
- Manage project visibility and set permissions.
-
Social Features
- Like projects and see like counts.
- Friend suggestions and follower lists.
- Users can share posts, add comments to the post and communicate.
opensource-social-network/
├── app.py # The main Flask application
├── requirements.txt # Python dependencies
├── static/ # Static files (CSS, JS, images)
|---css
|---fonts
|---images
|---js
├── templates/ # HTML templates
└── README.md # This file
-
Frontend Technologies
- HTML5, CSS3, JavaScript (ES6+)
- Bootstrap 4 for responsive design and UI components
- jQuery for enhanced interactivity
-
Backend Technologies
- Python with Flask framework
- PostgreSQL for the database
psycopg2for database interaction
- Flask Documentation
- PostgreSQL Documentation
- Bootstrap Documentation
- [https://wpkixx.com/html/winku-land/]
This README provides the necessary steps and dependencies required to run the Open Source Social Network Platform. For detailed code and implementation, please refer to the individual HTML, CSS, and JavaScript files included in the project.