Andromeda is a social media web application where users can share pictures and videos, and chat with their family and friends. This project is built using Django for the backend, Angular for the frontend, and MySQL for the database.
- User Registration and Authentication
- Profile Management
- Media Sharing (Photos and Videos)
- News Feed
- Likes, Comments, and Sharing
- Instant Messaging and Group Chats
- Notifications
- Search and Discovery
- Privacy and Security Settings
- Django: Backend framework
- Angular: Frontend framework
- MySQL: Database management
- RESTful API: Communication between frontend and backend
- JWT Authentication: Secure user authentication
- Python 3.8+
- Node.js 12+ and npm
- Angular CLI
- MySQL 8+
- Django 3.0+
-
Clone the repository:
git clone https://github.com/7irelo/andromeda-web.git cd andromeda-web
-
Create a virtual environment and activate it:
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install the dependencies:
pip install -r requirements.txt
-
Setup MySQL database:
- Create a new MySQL database named
andromeda
. - Update
DATABASES
settings inserver/settings.py
with your MySQL credentials.
- Create a new MySQL database named
-
Apply migrations:
python manage.py makemigrations python manage.py migrate
-
Create a superuser:
python manage.py createsuperuser
-
Start the backend server:
python manage.py runserver
-
Navigate to the frontend directory:
cd frontend
-
Install Angular dependencies:
npm install
-
Start the Angular development server:
ng serve
- Open your browser and go to
http://localhost:4200
to see the Angular frontend. - The Django backend runs at
http://localhost:8000
.
andromeda/
├── server/
│ ├── app/
│ ├── friends/
│ ├── marketplace/
│ ├── messages/
│ ├── notifications/
│ ├── posts/
│ ├── server/
│ ├── watch/
│ └── manage.py
└── client/
├── src/
├── angular.json
└── package.json
We welcome contributions from the community. Please follow these steps to contribute:
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Make your changes.
- Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature-branch
). - Open a pull request.
Please ensure your code adheres to the project's coding standards and includes appropriate tests.
If you encounter any issues or bugs, please report them on our Issue Tracker.
This project is licensed under the MIT License.
For any queries or support, please contact us at [email protected].
Thank you for contributing to Andromeda! We hope this project helps you create a fantastic social media application.