Compulsory Task 2
Follow these steps:
• Create a full-stack web application in a project directory called "carinventory". Create the back-end of the application using Express and the front-end using React. You should create a MongoDB that stores information about cars in a collection called cars.
• Your application should allow one to:
• Add a car to the cars collection.
• Update information about a single car.
• Update information about more than one car.
• Delete a specific document.
• List all the information for all cars in your database.
• List the model, make, registration number, and current owner for all cars older than 5 years.
• For the back-end of your application, ensure that you:
• Install Mongoose.
• Create 2 directories in your project directory called "models" and "controllers".
• Write all the code needed to perform the necessary CRUD operations for your application.
Things to look out for:
Make sure that you delete 'Node_modules' before submitting the code.