Giter VIP home page Giter VIP logo

real_state_rest_api's Introduction

Alt Text

Logo by design.com

Quick Rent

Search for properties and make your reservation quickly and easily.

Environment configuration

Clone this repo and make sure you have poetry installed.

Activate the enviroment:

cd real_state_rest_api
poetry shell

Seed data:

cd real_state_rest_api
python manage.py loaddata properties
python manage.py loaddata advertisements
python manage.py loaddata bookings

Running the application

cd src/real_state_rest_api
python manage.py runserver

real_state_rest_api's People

Contributors

rodrigobarro avatar

Watchers

 avatar

real_state_rest_api's Issues

Add Booking domain

Add Booking model with attributes:

booking_id
booking_code
advertisement
check_in_date
check_out_date
total_price
comment
guests_count
created_at
updated_at

Use cases:

Search for a list of Booking
Search for an individual Booking
Create a Booking
Delete a Booking

Add Property domain model

Property domain model with attributes:

  • property_id
  • max_guests
  • bathrooms_quantity
  • pets_allowed
  • cleaning_fee
  • activation_date
  • created_at
  • updated_at

Use cases:

  • Search for a list of properties
  • Search for an individual property
  • Create a property
  • Update a property
  • Delete a property

Add Advertisement domain

Add Advertisement model with attributes:

  • property
  • platform_name
  • platform_tax
  • created_at
  • updated_at

Use cases:

  • Search for a list of Advertisements
  • Search for an individual Advertisement
  • Create an Advertisement
  • Update an Advertisement

Setup

Setup project using Poetry and Django Rest Framework

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.