- Update this!
- Update files ProfilesService is a core microservice of the Travel-Booking-Framework that provides a Management system for Profiles, like Create - Update - Delete with with Service Layer Design Pattern. This service is developed using Django, PostgreSQL and REST API. This Project has 92% Coverage Tests.
- Profiles CUD: Add, Update and Delete Profiles Models with Service Layer Design Pattern.
- Profiles Simple Queries: Filter Profiles by Simple Queries with Service Layer Design Pattern.
- Python 3.x
- Django
- PostgreSQL
-
Clone the Repository:
git clone https://github.com/Travel-Booking-Framework/User-Service.git cd Profile-Service -
Create and Activate a Virtual Environment:
python3 -m venv venv source venv/bin/activate # On Windows use: venv\\Scripts\\activate
-
Install Dependencies:
pip install -r requirements.txt
-
Setup PostgreSQL: Ensure PostgreSQL is installed and running. Update your (
settings.py) with the correct database credentials. -
Setup REST API: Ensure that DjangoRestFramework is installed and running on your system. Update the Django settings (
settings.py) with the correct DjangoRestFramework configuration.
- ProfilesService/: Contains the core settings and configurations for Django.
- Profile/: Manages Profile-related operations and functionalities.
- Class-Diagram/: Provides class diagrams for understanding the project architecture.
- logs/: Contains logs files.
We welcome contributions from the community! To contribute:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Commit your changes.
- Submit a Pull Request.
-
Create a Superuser: To create an admin account, use the command:
python manage.py createsuperuser
-
REST API Support: This project includes GraphQL capabilities, which can be accessed at
/api/.