Welcome to the Gr8 Dane Doggie Dude Ranch Booking System! This Django-based web application is designed to facilitate the booking of appointments for various dog services including grooming, walking, and more. Our system allows customers to easily manage their appointments and ensure their beloved pets receive the care they deserve.
This application is currently deployed at Doggie Daycare App. Follow the steps below to start app in localhost.
To run this project, you need to set up the following environment variables in your production environment. Do not hard-code these values in your source code or expose them in public repositories for security reasons.
DEBUG
: Set toFalse
in production to turn off debug mode.SECRET_KEY
: A secret key for a particular Django installation. Use a unique, unpredictable value.DATABASE_URL
: The URL for your database connection. Use the format provided by your database service provider.
For all users:
- Appointment Booking: Schedule, update, and cancel appointments for dog services.
- Email Confirmation: Automated email confirmations sent to customers upon booking, leveraging Django signals to handle notifications (you can watch the email in django console).
Only for admin user:
- Customer Management: Register and manage customer information, including contact details and pet information.
- Service Catalog: A comprehensive list of services offered, such as grooming, walking, and training sessions.
- Dog Management: Register and manage dogs information.
Follow these instructions to get a copy of the project up and running on your local machine for development and testing purposes.
Before you begin, ensure you have the following installed:
- Python (version 3.8 or later recommended)
- Django (version 3.2 or later)
-
Clone the Repository
git clone git@github.com:fabio4520/doggie-daycare-app.git cd doggie-daycare-app
-
Set Up a Virtual Environment (Optional but recommended)
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install Dependencies
pip install -r requirements.txt
-
Migrate the Database
python manage.py migrate
-
Create a Superuser (Optional). You can use de superuser already created
username: fabio
password: password
python manage.py createsuperuser
-
Run the Development Server
```bash python manage.py runserver ```
Visit http://127.0.0.1:8000/ in your web browser to view the application.
Ensure the integrity of the application by running the included tests.
python manage.py test
- This is a challenge for a Technical interview, special thanks for Gener8tor team for inspiring this project.
- Django documentation and the Django community for their invaluable resources.