Giter Site home page Giter Site logo

rentacar_aspnet's Introduction

RentACar

Project for ASP.NET Programming

Installation

Unzip the release zip to the selected folder

Requirements

  • Asp.Net Core 7 SDK
  • Windows 10 or newer, Linux distro with .NET 7 support, macOS 10.15 or newer

Database configuration

Application is using SQLite database. Specify its name in appsettings.json file, in SQLiteConnection parameter

Admin user

On creation of database, the admin user specified in appsettings.json is created. Specify its data in AdminUser value.

Sample data

There is sample car list (10 cars) created on database creation.

Usage (anonymous)

When user is not logged in, the index file with invitation to sign up is shown. User can log in or sign in.

anon user view

You can register or login using navigation bar or link in the invitation After registering user would need to visit the office to get their data confirmed due to legal reasons.

Usage (logged in user)

When user is logged in, user will see greeting and logout option in navigation bar.

enter image description here

User also will see Rentals and Cars button. Rentals button direct to a list where user can see his rentals, cars button direct to car list, where user can see car list and rent button.

Car list:

enter image description here

User can click "Rent" button here and rent selected car Add rental option:

enter image description here

User can specify car, rental date and return date. Rental date cannot be later than Return date. Car must be available to rent. After creating rental, user will be redirected to rental list where rent details are available:

enter image description here

The rent is successful message is depending on account verification. Employee would need to confirm user data upon first rental.

Usage (admin)

enter image description here

Rental menu

In Rentals menu, admin can rent a car to some customer (the customer select list is active for admins) or delete a rental:

enter image description here

enter image description here

Delete rental would need a additional confirmation:

enter image description here

Car menu

Admins can create new car, edit a car, delete a car or rent a car

enter image description here

User menu

Admins have access to user list, where they could create new user manually, verify user, delete users and edit users.

enter image description here

While editing user, admin can tick verify button and choose roles for the user:

enter image description here

rentacar_aspnet's People

Contributors

bieleckipawel avatar

Stargazers

 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.