Skip to content

REST API Developed with DRF, docker-compose, poetry, actions, kubernetes, swagger documentation, etc. Integration and Unit test with Unittest and Pytest.

Notifications You must be signed in to change notification settings

sebadp/home-booking-app

Repository files navigation

Django challenge

This project is the resolution for a Django challenge by Sebastián Dávila.

Branches and tasks solved:

SCDCM-1/crud_endpoints

  • Using django-rest-framework, create CRUD endpoints to interact with the 3 models.

SCDCM-2/add_filters

  • For Property and Booking, create some basic filters for the list endpoint using django-filters

SCDCM-3/add_required_test_cases

  • Add Tests, specially for the pricing rules calculation. At least the 3 cases described in this file should be covered.

SCDCM-4/implement_reservation_logic

  • Feel free to modify the models, but the main focus of this test is the pricing rules calculation.

SCDCM-5/add_docstrings_and_type_hinting

  • Extra points for docstrings, type hinting and return types!

SCDCM-6/clean_up_project

  • Please deploy the backend server in heroku or any similar free service
  • Extra points for a dockerized solution!

SCDCM-7/add_swagger_docs(Not merged)

  • Add Swagger auto documentation

SCDCM-8/check_typing_and_docstrings

  • Check typing and complete docstrings

SCDCM-9/add_full_coverage_e2e_tests

  • Add PostgreSQL
  • Add End To End tests to cover edges

SCDCM-11/refactor_models

  • Rename Property model and fields to rental_property

SCDCM-12/fix_bug_double_condition_rule

  • Fix bug and clean code for readability.

SCDCM-13/aplly_named_arguments

  • Apply named arguments to functions calls.

SCDCM-10/add_unit_tests_and_handle_exceptions

  • Work in progress, add unit tests and evelate coverage. Add exceptions.

Deployed at Heroku(Sept 11):

About

REST API Developed with DRF, docker-compose, poetry, actions, kubernetes, swagger documentation, etc. Integration and Unit test with Unittest and Pytest.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published