Source code for the article Build a Django full stack Photo-Sharing app.
-
Django CRUD functionality
-
User authentication
- Login
- Logout
- Sign-up
-
Image Uploads
-
Reused code with Django Template Language
-
Stylized pages with Bootstrap 5
Clone the repository:
git clone https://github.com/DaniDiazTech/Django-photo-app.git
cd Django-photo-app/
Create a virtual environment.
python -m venv .venv
Activate it
source .venv/bin/activate
Install all the project dependencies with the requirements.txt
with the following command.
pip install -r requirements.txt
Run the migrations:
python manage.py migrate
Run the project.
python manage.py runserver
Visit your localhost.