Coder Social home page Coder Social logo

rkeytech / fuelstationmanager Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 298 KB

A .Net application for managing a fuel station, with clients for Web(blazor) and Native Windows(windows forms), and an API Server for controlling the flow of information.

License: MIT License

HTML 15.97% C# 80.94% CSS 3.09% JavaScript 0.01%
api beginner-project blazor-client blazor-server blazor-webassembly crud-api csharp csharp-library dependency-injection dotnet dotnet-core entity-framework-core inheritance windows-forms

fuelstationmanager's Introduction

Hello, I'm Timos Zacharatos. |

A Software Engineer and a passionate programmer.

I'm a person with a passion for technology. I can work hard to achieve my goals and everything I've got in my mind. Programming is for me, first of all, a hobby I love to do(happens to be my job too), a way to improve myself, and a tool to create and get the satisfaction from this. When you are programming, in any language, you can feel what it means to create something new, and believe me, it's so addictive.

๐—ฆ๐˜๐—ฎ๐˜๐˜€

rkeytech's github stats

fuelstationmanager's People

Contributors

rkeytech avatar

Stargazers

 avatar

Watchers

 avatar  avatar

fuelstationmanager's Issues

[TODO] Check for the customer card number uniqueness and return the appropriate message

Check for the customer card number you take as input from the client(blazor, windows forms) and return a message when it's not unique

  • Create a function in the customer handler which takes as inputs a list with card numbers and a string card number and returns a bool if it finds it or not in the list
  • Call the customer handler function on the clients and show a message for card number not being unique when the function returns a true/false

[TODO] Create a register system for new users

Create a system where an admin can insert new user information and bind them with an employee from our fuel station.

  • Create a razor page where an admin can insert the information of a new user
  • Create a route in the Employee Controller where it takes the input values and adds a new user in the users table getting as employee id the id of an already created employee in our system

[TODO] Change the login/authorization system from a simple API call to the Blazor Authorization System

  • Implement the Blazor Authorization System in the existing project
  • Create the needed tables in the database for the new login/authorization system
  • Change the users to acquire roles based on their employee type in our fuel station
  • Change the nav menu and all the razor pages to implement AuthorizeView and NotAuthorizeView for the users of the Application
  • Use a role-based authorization for the logged in users and decide what a user can access

[TODO] Change the Ledger Handler function GetExpenses to calculate correctly the salaries of our employees

  • Check that if an employee is active and the hire date is lower than the month we are checking then the employee takes all the salary for the month
  • Check that if an employee is inactive and the hire date is lower than the month we are checking and the end date is in the month we are checking then calculate the salary per day and pay the employee the working days
  • Check that if an employee is inactive and the hire date is lower than the month we are checking and the end date is not in the month we are checking then the employee doesn't work for us for some time and he doesn't get any money

[TODO] Change the functionality of Delete to change an entity from active to inactive

  • Create a new HttpPut route in the controllers to get an entity model and update the IsActive property from true to false
  • Insert an http call to the newly created route inside the Delete onClick event with the view model we want to deactivate
  • Change all the pages with the lists of entities to show in the table only the active entities
  • Add button for changing the behavior of a list table from showing active entities to showing inactive
  • Change the select population methods to take into account the status active/inactive of an entity

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.