A vehicle inventory system created using Eclipse. When running the project, this will allow the user to perform different CRUD (i.e., Create, Retrieve, Update and Delete) database operations on a back-end SQLite database, storing vehicle data. This project was completed in January 2019.
- Before proceeding with the download and installation, make sure you have the latest Java SE Development Kit installed on your computer, or the Eclipse Installer will NOT work. Below, is the link:
https://www.oracle.com/java/technologies/javase-jdk11-downloads.html
- Once on the page, find your operating system and click the correct download link, then go through with the installation. Below are installation guides:
https://docs.oracle.com/en/java/javase/11/install/overview-jdk-installation.html
- After you have installed it, you can proceed with downloading Eclipse.
- Use the link below and download Eclipse:
https://www.eclipse.org/downloads/
- After downloading Eclipse, use this link below and follow the guide on how to install Eclipse.
- NOTE: MAKE SURE YOU SELECT "ECLIPSE IDE FOR JAVA DEVELOPERS".
https://www.eclipse.org/downloads/packages/installer
- Once the installation is complete, you can now launch Eclipse.
- Download the project as a ZIP.
- Open Eclipse and choose a location for your workspace.
- Click "Launch".
- Once on the Welcome screen, click "Import existing projects".
- Click the "Select archive file" option and then select "Browse".
- Then browse for the project ZIP file and click "Open" - and ensure you tick the box where the file appears under "Project:".
- After that, click "Finish" at the bottom. This should show a folder called "PRAJAPATI_17031142" in the Package Explorer.
- Double click the "PRAJAPATI_17031142" folder and navigate to src > (default package) > Controller.java.
- Once selecting "Controller.java", click the small arrow next to the circle, green play button.
- When the dropdown appears, navigate to "Run As" and click "Java Application".
- This will then run the project, in which, you will see a menu appear in the console.
- Enjoy!
- Shows the vehicles in a HTML table in your browser:
localhost:8000/
- Allows the user to insert a vehicle using a HTML form:
localhost:8000/add_vehicle