Giter VIP home page Giter VIP logo

baykar-tech-uav-rental's Introduction

UAV Rental Management System

This project is a web-based UAV (Unmanned Aerial Vehicle) rental management system developed as part of the application for the Web Software Engineer / Back-End Developer position at Baykar Tech. The system allows users to manage UAVs, rental transactions, and user accounts efficiently.

Functionalities Implemented User Authentication and Login Screen:

Users can sign up and log in securely to access the system. UAV Management:

CRUD (Create, Read, Update, Delete) operations for managing UAVs. Attributes include brand, model, weight, category, etc. Rental Management:

Renting, canceling, updating, and listing rental transactions. Rental attributes include UAV, rental dates and times, renting user, etc. User Rental Records:

Users can view their rental records to keep track of their transactions. Filtering and Searching:

Filtering and searching functionalities across all listing pages. Technologies Used Django: Python web framework used for backend development. PostgreSQL: Relational database management system used for data storage. HTML/CSS: Frontend design and styling.

Getting Started

  • Python 3.x
  • Django
  • PostgreSQL 12

Models

UAV Model

The UAV model represents an Unmanned Aerial Vehicle.

  • branch: CharField - Branch of the UAV.
  • model: CharField - Model of the UAV.
  • weight: FloatField - Weight of the UAV.
  • category: CharField - Category of the UAV.
  • monthly_fee: FloatField - Monthly rental fee of the UAV.
  • is_rented: BooleanField - Indicates whether the UAV is currently rented.
  • image: CharField - Path to the image of the UAV.
  • descrtiption: TextField - Descrtiption of the UAV.

Rental Model

The Rental model represents a rental transaction.

  • uav: ForeignKey to UAV model - The rented UAV.
  • renter: ForeignKey to User model - The user who rented the UAV.
  • rental_start_date: DateTimeField - Start date of the rental.
  • rental_end_date: DateTimeField - End date of the rental.

Database Configuration

Before running the application, make sure to update the /rent/rent/.env file with your database configuration:

    DB_NAME="your_database_name"
    DB_USER="your_database_user"
    DB_PASSWORD="your_database_password"
    DB_HOST="your_database_host"
    DB_PORT="your_database_port"

Installation

Clone the repository:

  git clone https://github.com/erensunar/baykar-tech-uav-rental.git

Install dependencies:

  pip install -r requirements.txt

Navigate to the project directory:

  cd rent

Set up the database:

  python manage.py migrate

Run the development server:

  python manage.py runserver
  Access the application in your web browser at http://localhost:8000.

Contributing

Contributions are welcome! Feel free to fork the repository and submit pull requests with your improvements.

Acknowledgements

Special thanks to Baykar Tech for providing the opportunity to work on this project.

Screenshots

Home Page UAV Page My Rentals Page UAV Database Rental Page

Video

Presentation

baykar-tech-uav-rental's People

Contributors

erensunar avatar

Watchers

 avatar  avatar

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.