diff --git a/README.md b/README.md index 850c8a7..ccac385 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,10 @@ -# Getting Started with the Vehicle Inventory Flow DB/App +# Getting Started with the SF DB/App ## Initial Setup -1. Unzip project in your local working directory -2. Install dependencies by running command: npm install +Unzip project in your local working directory or clone from git repo + +Install dependencies by running command: npm install ## Available Scripts @@ -11,10 +12,5 @@ In the project directory, you can run: ### `npm start` -Runs the app locally in the development mode for testing.\ +Runs the app locally in the development mode for testing. Open [http://localhost:3000](http://localhost:3000) to view it in your browser. - -### `npm test` - -Launches the test runner in the interactive watch mode.\ -See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information. diff --git a/package.json b/package.json index 404b7ab..987e462 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { - "name": "hdepot", + "name": "sales flow app", "version": "0.1.0", - "homepage": "https://www.findandexec.com/var/www/fne/sf/", + "homepage": "https://www.findandexec.com/sf", "private": false, "dependencies": { "@testing-library/jest-dom": "^5.16.5", diff --git a/src/components/Vehicles.js b/src/components/Vehicles.js index a03c668..c5cb2b1 100644 --- a/src/components/Vehicles.js +++ b/src/components/Vehicles.js @@ -18,14 +18,14 @@ const Vehicles = () => { const [vehId, setVehId] = useState(); const [fetchedVeh, setfetchedVeh] = useState([]); const inputTypes = [ - "make", - "model", - "trim", - "color", - "year", - "category", - "mileage", - "price", + "Make", + "Model", + "Trim", + "Color", + "Year", + "Category", + "Mileage", + "Price", ]; const handleIdInput = (e) => setVehId(e.target.value); @@ -66,7 +66,7 @@ const Vehicles = () => { }); setSavedVehicles(dbVehs); } else { - console.log("Error fetching vehicle data from database"); + console.log("Error fetching data from database"); } }); } catch (error) { @@ -119,23 +119,25 @@ const Vehicles = () => {