A modern, secure web application for managing invoices between clients and accountants. Built with Django and React. 🚀
- 🔐 Secure authentication for clients and accountants
- 📄 Invoice upload and management
- 📊 Interactive dashboard views
- 💰 Expense and revenue tracking
- 🗄️ Document storage and retrieval
- 👥 Role-based access control
- 🐍 Backend: Python/Django
- ⚛️ Frontend: React
- 🐘 Database: PostgreSQL
- ☁️ File Storage: AWS S3
- 🔑 Authentication: JWT
fatture/
├── backend/ # Django backend
│ ├── api/ # REST API endpoints
│ ├── core/ # Core functionality
│ └── users/ # User management
├── frontend/ # React frontend
│ ├── src/
│ │ ├── components/
│ │ ├── pages/
│ │ └── services/
│ └── public/
└── docker/ # Docker configuration
- 📥 Clone the repository
- ⚙️ Set up environment variables
- 📦 Install dependencies
- 🔄 Run migrations
- 🎯 Start the development servers
cd backend
python -m venv venv
source venv/bin/activate # or `venv\Scripts\activate` on Windows
pip install -r requirements.txt
python manage.py migrate
python manage.py runservercd frontend
npm install
npm startCreate a .env file in the backend directory with:
DEBUG=True
SECRET_KEY=your-secret-key
DATABASE_URL=postgres://user:password@localhost:5432/fatture
AWS_ACCESS_KEY_ID=your-aws-key
AWS_SECRET_ACCESS_KEY=your-aws-secret
AWS_STORAGE_BUCKET_NAME=your-bucket-nameThe application can be run using Docker Compose:
docker-compose up --buildThis will start:
- 🐘 PostgreSQL database
- 🐍 Django backend
- ⚛️ React frontend
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
- Material-UI for the beautiful React components
- Django REST framework for the powerful API tools
- All our contributors and users