تفاصيل العمل

*** Introduction

Building a social network web application using the Django framework.

The focus of this project is to showcase the use of Django models, forms, and the implementation of user-to-user connections and text-based content creation and display.

*** Features

- User-to-user connections: Allows users to connect with each other by following or unfollowing other user profiles.

- Content creation and display: Users can post short text-based messages and view the posts of other user profiles they follow.

- User profiles: Each user will have their own profile that holds information about which other profiles they follow.

- User authentication: Users can log in and log out and also register as a new user.

- Profile information display: Users can view their own profile and the profiles of other users.

- Comments: Users can comment on other users' posts.

*** Technical Analysis

The application consists of the following components:

- Models: The main models used in this application are the User, Profile, and Dweet models.

- Views: The views handle the CRUD operations for the models and also handle user authentication and registration.

- Templates: The templates handle the display of the content and information in the application.

- Forms: Forms are used for submitting content and handling user authentication and registration.

- Signals: Signals are used to automatically create a profile for each new user.

*** Back-end

- The back-end of the application is built using Django (Python Framework)

*** Frontend

- The frontend of the application is built using Bulma CSS Framework for styling and HTML for the structure.

- The dynamic content is generated using Django template code.

*** Requirements

Django

Python

SQLite ️

*** Usage

To use this dwitter app, follow these steps:

1. Clone the repository to your local machine:

`git clone [the project URL]`.

2. Create a virtual environment: `python3 -m venv venv`.

3. Activate the virtual environment: `source venv/bin/activate`.

4. Install the required packages with `pip install -r requirements.txt`.

5. Apply migrations: `python manage.py migrate`.

6. Run the development server with `python manage.py runserver`.

7. In your web browser, go to `http://127.0.0.1:8000/` to access the app.

*** License

This project is licensed under the MIT License.

*** Conclusion

This project provides a good introduction to building a social network application using the Django framework. It showcases the use of models, views, templates, forms, and signals in a Django application and provides a solid foundation for building more complex applications in the future.

بطاقة العمل

اسم المستقل Mahmoud H.
عدد الإعجابات 0
عدد المشاهدات 39
تاريخ الإضافة
تاريخ الإنجاز