Giter Club home page Giter Club logo

carhire's Introduction

The application provides an opportunity to rent a vehicle from an office after registration and filling out the rental form. The selection is made through a panel with vehicle categories, which is also the home page

Screenshot 2023-01-09 115729

or through the all vehicles section.

Screenshot 2023-01-09 150710



It is possible to view the details of the car and comments left by previous renters.
Each user has a section (My Rent) with their current rent through which the vehicle is returned after the end of the rent.

Screenshot 2023-01-09 132534



If all vehicles in a given category are already rented, an appropriate message will pop up like in the example below.

Screenshot 2023-02-05 130033



After granted an access level by the administration, an employee with the rank of manager can edit the data and add new ones such as: comments, vehicle details, trade discounts, categories.
Manager area:

Screenshot 2023-01-09 153439



An employee with the rank of administrator (which is added automatically with database seeding) can add/remove roles to a given user that give the level of access to the data.

Screenshot 2023-01-09 154523



📚 Tech Stack

1. Back-End

2. Front-End

3. Tests



🗺️ Database Diagram

Screenshot 2023-01-09 211356



⌨️ Usage

1. Download ZIP file from top green button <> Code

Screenshot 2023-01-10 110811


2. Open or download and open MSSQLServer instance

3. Open CarHire.csproj.user with IDE

4. Right click on CarHire and press Manage User Secrets in secret.json write your own connection string

{
  "ConnectionStrings": {
    "DefaultConnection": "your_own_connection_string"
  }
}

5. Open Package Manager Console choose for Default project : CarHire.Infrastructure and type:

update-database

6. It is now ready to use. And you can login with seeded users:

First name Last name Email Password Role
John Doe [email protected] 123456 Admin
Jane Doe [email protected] 654321 n/a

GitHub language count GitHub all releases GitHub forks GitHub Repo stars

carhire's People

Contributors

glavyanov avatar

Stargazers

 avatar Svetoslav Georgiev avatar Kiril Tolev avatar Ivan Mitovski avatar

Watchers

 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.