Emeldalaeticia / Django_PhotoApp_Project

This is a photoApp project using django

Home Page:https://laeticiaphotoapp.onrender.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Django_PhotoApp_Project

This is a photoApp project using django

PhotoApp PhotoApp is a web application that allows users to upload and share photos with others. It provides features such as photo uploads, photo details, likes, and more.

Installation Clone the repository to your local machine: git clone https://github.com/your-username/photoapp.git

Navigate to the project directory: cd photoapp

Create a virtual environment: python -m venv env

Activate the virtual environment:

On macOS and Linux: source env/bin/activate

On Windows: env\Scripts\activate

Install the required dependencies: pip install -r requirements.txt

Set up the database: python manage.py migrate

Start the development server: python manage.py runserver

Access the application by visiting http://localhost:8000 in your web browser.

Features User registration and authentication Photo upload functionality Photo details page with photo description and uploader information Like functionality for photos Update and delete options for the user who uploaded the photo File Structure The project follows a standard Django file structure:

photoapp/ ├── photoapp/ │ ├── migrations/ │ ├── static/ │ │ └── photoapp/ │ │ ├── css/ │ │ │ └── style.css │ │ └── js/ │ │ └── script.js │ ├── templates/ │ │ └── photoapp/ │ │ ├── base.html │ │ ├── index.html │ │ ├── upload.html │ │ ├── detail.html │ │ ├── update.html │ │ └── delete.html │ ├── admin.py │ ├── forms.py │ ├── models.py │ ├── urls.py │ └── views.py ├── manage.py

└── README.md

The photoapp directory contains the main Django application files. The migrations directory holds database migration files. The static directory contains static files such as CSS and JavaScript. The templates directory stores HTML templates for different views. The admin.py file configures the Django admin interface. The forms.py file defines forms for photo upload and update. The models.py file defines the database models for photos. The urls.py file contains URL routing configurations. The views.py file defines view functions for rendering templates and handling requests. The manage.py file is the Django management script.

Configuration The project's settings can be found in the photoapp/settings.py file. You can modify various settings such as database configuration, static files, authentication, and more in this file.

About

This is a photoApp project using django

https://laeticiaphotoapp.onrender.com


Languages

Language:Python 65.1%Language:HTML 34.9%