{"id":1326,"date":"2021-05-20T08:40:41","date_gmt":"2021-05-20T08:40:41","guid":{"rendered":"https:\/\/codeinsightacademy.com\/blog\/?p=1326"},"modified":"2021-05-25T13:54:41","modified_gmt":"2021-05-25T13:54:41","slug":"mini-car-inventory-system","status":"publish","type":"post","link":"https:\/\/codeinsightacademy.com\/blog\/projects\/mini-car-inventory-system\/","title":{"rendered":"Mini Car Inventory System"},"content":{"rendered":"\n<p>Creating a personal mini car inventory system from scratch using your best knowledge and skills. The system will have inventory of manufacturer and models (cars) of each manufacturer owned.<\/p>\n\n\n\n<p>System should be created using your own frontend and backend framework and should use caching.<\/p>\n\n\n\n<p>Frontend should be a webapp a.k.a. SPA. (Ie: <strong><span class=\"has-inline-color has-vivid-red-color\">no refreshing\/reloading pages<\/span><\/strong>)<\/p>\n\n\n\n<p>Technology to be used:<\/p>\n\n\n\n<p>PHP (OOP)<br>MySql (Normalized Database Schema) <br>Javascript (JQuery &#8211; AJAX) <br>HTML, CSS and Bootstrap 5<\/p>\n\n\n\n<p>Classes to be created:<\/p>\n\n\n\n<p>Database &#8211; Class to deal with each and every operation of database. <br>Manufacturer &#8211; Class to deal with all operations related to car manufacturer. <br>Model &#8211; Class to deal with all operations related to car model. <br><br><strong>Page 1<\/strong>: Add Manufacturer. <br>The page should contain a input box for manufacturer name and a submit button.<\/p>\n\n\n\n<p><strong>Page 2<\/strong>: Add Model. <br>This page should have a manufacturer dropdown on the right side and model name textbox on the left side (Both should be in the same line)<\/p>\n\n\n\n<p>Add other details below about the car like \u201cColor, manufacturing year, registration number, note and 2 pictures\u201d. Pictures should be uploaded using any ajax plugin.<\/p>\n\n\n\n<p>And lastly there should be a submit button.<\/p>\n\n\n\n<p><strong>Page 3<\/strong>: View Inventory.<br>This page should populate a table of all the models and manufacturers from the DB.<\/p>\n\n\n\n<p>It should have the columns as below<\/p>\n\n\n\n<p>Serial Number, Manufacturer Name, Model Name, Count<\/p>\n\n\n\n<p>eg.<\/p>\n\n\n\n<ol><li>Maruti WagonR 2<\/li><li>Tata Nano 1<\/li><\/ol>\n\n\n\n<p>On clicking on the row, a popup will appear which will have details of the individual models like color, manufacturing year etc. (Basically all details from page 2) and a Sold clickable link.<\/p>\n\n\n\n<p>On clicking Sold, the row will be deleted and the DB will be updated accordingly.<\/p>\n\n\n\n<p>In addition to this, on Page 3 when users are viewing the inventory and in case a car is sold, the View Inventory table for the column Count will have to be dynamically updated in case a car is sold at that moment.<\/p>\n\n\n\n<p>Similarly in case the users are on any other page or pop up of the system, they should get an alert saying &#8220;make model is sold&#8221; when a car is sold.<\/p>\n\n\n\n<p>Wireframes<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/codeinsightacademy.com\/blog\/http:\/\/codeinsightacademy.com\/blog\/wp-content\/uploads\/2021\/05\/image-2.png\"><img loading=\"lazy\" width=\"658\" height=\"208\" src=\"https:\/\/codeinsightacademy.com\/blog\/http:\/\/codeinsightacademy.com\/blog\/wp-content\/uploads\/2021\/05\/image-2.png\" alt=\"\" class=\"wp-image-1335\" srcset=\"https:\/\/codeinsightacademy.com\/blog\/http:\/\/codeinsightacademy.com\/blog\/wp-content\/uploads\/2021\/05\/image-2.png 658w, https:\/\/codeinsightacademy.com\/blog\/http:\/\/codeinsightacademy.com\/blog\/wp-content\/uploads\/2021\/05\/image-2-300x95.png 300w\" sizes=\"(max-width: 658px) 100vw, 658px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/codeinsightacademy.com\/blog\/http:\/\/codeinsightacademy.com\/blog\/wp-content\/uploads\/2021\/05\/image-3.png\"><img loading=\"lazy\" width=\"646\" height=\"649\" src=\"https:\/\/codeinsightacademy.com\/blog\/http:\/\/codeinsightacademy.com\/blog\/wp-content\/uploads\/2021\/05\/image-3.png\" alt=\"\" class=\"wp-image-1337\" srcset=\"https:\/\/codeinsightacademy.com\/blog\/http:\/\/codeinsightacademy.com\/blog\/wp-content\/uploads\/2021\/05\/image-3.png 646w, https:\/\/codeinsightacademy.com\/blog\/http:\/\/codeinsightacademy.com\/blog\/wp-content\/uploads\/2021\/05\/image-3-300x300.png 300w, https:\/\/codeinsightacademy.com\/blog\/http:\/\/codeinsightacademy.com\/blog\/wp-content\/uploads\/2021\/05\/image-3-150x150.png 150w\" sizes=\"(max-width: 646px) 100vw, 646px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/codeinsightacademy.com\/blog\/http:\/\/codeinsightacademy.com\/blog\/wp-content\/uploads\/2021\/05\/image-4.png\"><img loading=\"lazy\" width=\"660\" height=\"305\" src=\"https:\/\/codeinsightacademy.com\/blog\/http:\/\/codeinsightacademy.com\/blog\/wp-content\/uploads\/2021\/05\/image-4.png\" alt=\"\" class=\"wp-image-1339\" srcset=\"https:\/\/codeinsightacademy.com\/blog\/http:\/\/codeinsightacademy.com\/blog\/wp-content\/uploads\/2021\/05\/image-4.png 660w, https:\/\/codeinsightacademy.com\/blog\/http:\/\/codeinsightacademy.com\/blog\/wp-content\/uploads\/2021\/05\/image-4-300x139.png 300w\" sizes=\"(max-width: 660px) 100vw, 660px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/codeinsightacademy.com\/blog\/http:\/\/codeinsightacademy.com\/blog\/wp-content\/uploads\/2021\/05\/image-5.png\"><img loading=\"lazy\" width=\"1024\" height=\"636\" src=\"https:\/\/codeinsightacademy.com\/blog\/http:\/\/codeinsightacademy.com\/blog\/wp-content\/uploads\/2021\/05\/image-5-1024x636.png\" alt=\"\" class=\"wp-image-1341\" srcset=\"https:\/\/codeinsightacademy.com\/blog\/http:\/\/codeinsightacademy.com\/blog\/wp-content\/uploads\/2021\/05\/image-5-1024x636.png 1024w, https:\/\/codeinsightacademy.com\/blog\/http:\/\/codeinsightacademy.com\/blog\/wp-content\/uploads\/2021\/05\/image-5-300x186.png 300w, https:\/\/codeinsightacademy.com\/blog\/http:\/\/codeinsightacademy.com\/blog\/wp-content\/uploads\/2021\/05\/image-5-768x477.png 768w, https:\/\/codeinsightacademy.com\/blog\/http:\/\/codeinsightacademy.com\/blog\/wp-content\/uploads\/2021\/05\/image-5.png 1031w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/codeinsightacademy.com\/blog\/http:\/\/codeinsightacademy.com\/blog\/wp-content\/uploads\/2021\/05\/image-7.png\"><img loading=\"lazy\" width=\"661\" height=\"476\" src=\"https:\/\/codeinsightacademy.com\/blog\/http:\/\/codeinsightacademy.com\/blog\/wp-content\/uploads\/2021\/05\/image-7.png\" alt=\"\" class=\"wp-image-1345\" srcset=\"https:\/\/codeinsightacademy.com\/blog\/http:\/\/codeinsightacademy.com\/blog\/wp-content\/uploads\/2021\/05\/image-7.png 661w, https:\/\/codeinsightacademy.com\/blog\/http:\/\/codeinsightacademy.com\/blog\/wp-content\/uploads\/2021\/05\/image-7-300x216.png 300w\" sizes=\"(max-width: 661px) 100vw, 661px\" \/><\/a><\/figure>\n\n\n\n<p>DATABASE Schema<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/codeinsightacademy.com\/blog\/http:\/\/codeinsightacademy.com\/blog\/wp-content\/uploads\/2021\/05\/image-9.png\"><img loading=\"lazy\" width=\"612\" height=\"241\" src=\"https:\/\/codeinsightacademy.com\/blog\/http:\/\/codeinsightacademy.com\/blog\/wp-content\/uploads\/2021\/05\/image-9.png\" alt=\"\" class=\"wp-image-1351\" srcset=\"https:\/\/codeinsightacademy.com\/blog\/http:\/\/codeinsightacademy.com\/blog\/wp-content\/uploads\/2021\/05\/image-9.png 612w, https:\/\/codeinsightacademy.com\/blog\/http:\/\/codeinsightacademy.com\/blog\/wp-content\/uploads\/2021\/05\/image-9-300x118.png 300w\" sizes=\"(max-width: 612px) 100vw, 612px\" \/><\/a><\/figure>\n\n\n\n<p>Code for reference<br><a href=\"https:\/\/github.com\/shaileshsonare\/mcis\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/github.com\/shaileshsonare\/mcis<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Creating a personal mini car inventory system from scratch using your best knowledge and skills. The system will have inventory of manufacturer and models (cars) of each manufacturer owned. System should be created using your own frontend and backend framework and should use caching. Frontend should be a webapp a.k.a. SPA. (Ie: no refreshing\/reloading pages) [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[32],"tags":[],"_links":{"self":[{"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/posts\/1326"}],"collection":[{"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/comments?post=1326"}],"version-history":[{"count":14,"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/posts\/1326\/revisions"}],"predecessor-version":[{"id":1407,"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/posts\/1326\/revisions\/1407"}],"wp:attachment":[{"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/media?parent=1326"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/categories?post=1326"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/tags?post=1326"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}