Skip to content

justdawee/Lethal-Devs-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub contributors GitHub commit activity GitHub last commit GitHub issues GitHub Repo stars GitHub Website LinkedIn CSharp HTML CSS JavaScript PHP MariaDB


Logo

Vehicle Management System

This is a Vehicle Database where you can add your vehicles, and get some statistics about them.
Explore the docs »

View Demo · Report Bug · Request Feature

About The Project

VMS-LethalDevs

This project is made for my school project, the program is a random idea. I like cars so I thought why not I make an app where you can store vehicles and data related to them. Thats how the Vehicle Management System comes from. This app builds from a Desktop Application that is made in C# (Windows Forms Application), in there you can manage the database line an Admin UI. The main app is a webpage where users can register, login and add their vehicles to the database. The user can only see vehicles added by itself, cant see every records. That's it unfortunately... If I had more time, I make it more complex or better... :)

(back to top)

Getting Started

To use this application, you will need several things... At first, you will need a Webserver and a MySQL server, I recommend XAMPP for this purpose, but you can use any web service out there. After you installed the web+sql server, you need to setup the webfiles and mysql database. Add files from VMS-Web to your webserver htdocs folder, and after that, import the included database file what you can find in VMS-SQL. If these are done, basically you can use the software, but if you want to manage it from the Windows Application, you need to do some other things. At first, download the latest relase from the repository, and install the required dependencies.

For further info follow Installation steps below...

Prerequisites

Apache/Nginx
PHP 7.4.29 or higher
MySQL/MariaDB
.NET Framework 4.7.2 (Desktop App)
XAMPP (optional webserver)

Installation

  1. Install Prerequisites
  2. Clone the repo
    git clone https://github.com/justdawee/Lethal-Devs-Project.git
  3. Put files from VMS-Web
    Copy VMS-Web files to your htdocs folder.
    
  4. Setup MySQL Database
    Go to phpmyadmin and create a database 'vms_lethaldevs' or preffered name.
    Then import the included .sql file. You can find it in VMS-SQL folder.
    
  5. Check config files
    Check data in config.php, if data does not match with yours, change it.
    
  6. Desktop app setup
    Download the desktop app from relases, if success follow next steps.
    
  7. Change default MySQL settings
    Go to app directory and find 'Lethal Devs Project.exe.config' and edit it with text editor.
    Inside the file, search <Lethal_Devs_Project.Properties.Settings>
    and below that line, you will find the default MySQL settings.
    Change them according to your mysql server data.
    Save file.
    
  8. Start Desktop App
    If the MySQL connection settings are correct, you should login with your account.
    You can only login in the Desktop app if you are an Admin, you can make yourself admin by changing
    the field in the 'users' table in mysql, find your record and change 'admin' entry from 0 to 1.
    After that you should login without any issues.
    
  9. Done
    The desktop app is independent of the web app, it made only for admin purpose.
    If you have any issue, write one in the issues section. Thhanks.
    Enjoy.
    

(back to top)

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Contact

Lukács Dávid - justdawee@gmail.com

Project Link: https://github.com/JustDawee/Lethal-Devs-Project

(back to top)