Modern Django web app for seamless Flickr content sharing
- Share Flickr posts instantly via web scraping
- Add custom captions to posts
- Edit and delete your own posts
- View posts in a modern, responsive interface
- Comment on posts
- Private messaging with encryption
- User following system
- Email-based authentication
- Customizable user profiles
- Account settings management
- Secure account deletion option
- Responsive design across all devices
- Web scraping for Flickr content
- Encrypted messaging system
- HTMX for dynamic interactions
- Modern UI with Tailwind CSS and Alpine.js
- Backend: Django 5.1.4
- Frontend: HTMX, Tailwind CSS, Alpine.js
- Database: PostgreSQL
- Additional: Cryptography for message encryption
- Clone the repository
git clone https://github.com/auriorajaa/flick_share.git
cd flick_share
- Create and activate virtual environment
python -m venv venv
# On Windows
venv\Scripts\activate
# On macOS/Linux
source venv/bin/activate
- Install dependencies
pip install -r requirements.txt
- Create
.env
file in thea_core
directory with the following content:
ENVIRONMENT=development
SECRET_KEY=your-secret-key
ENCRYPT_KEY=your-encrypt-key
DATABASE_URL=postgres://postgres:your-password@localhost:5432/flick_share_db
- Set up PostgreSQL database
# Access PostgreSQL
psql -U postgres
# Create database
CREATE DATABASE flick_share_db;
# Exit PostgreSQL
\q
- Run migrations
python manage.py migrate
- Create admin user
python manage.py createsuperuser
- Start development server
python manage.py runserver
Visit http://localhost:8000
to access the application.
flick_share/
├── a_core/ # Main project settings
│ └── .env # Environment variables
├── ... # Other folder
├── venv/ # Virtual environment (not in repo)
└── manage.py
Required environment variables in a_core/.env
:
ENVIRONMENT
: Set to 'development' for local developmentSECRET_KEY
: Django secret keyENCRYPT_KEY
: Message encryption keyDATABASE_URL
: PostgreSQL connection URL
- Virtual environment (
venv/
) and environment files (.env
) are not included in the repository - Make sure PostgreSQL is running before starting the application
- Keep your encryption and secret keys secure
This project is licensed under the MIT License.