AutoAuto is the one stop website shop to setup an appointment to buy the car of your dreams today! The motivation behind making AutoAuto was to create a hub for a would-be car dealership so they can showcase their cars online. Users can login and view the various cars and car data. Autouto was made with using the MVC method where it uses sequilize to interact with a MySQL database.
Github repositry link: https://github.com/FOR-TIMI/AutoAuto
Deployed application link: https://stormy-wildwood-35895.herokuapp.com/
To Install and begin working on the AutoAuto project follow these easy steps:
- Open the terminal at the directory you would like to clone the project
- In the terminal enter: 'https://github.com/FOR-TIMI/AutoAuto.git' to create a clone of the AutoAuto Repo
- In the terminal enter: 'code .' to open the project in the Visual Studios development environment
- The project will still need to install the required node packages. In the terminal window change directory to the newly cloned AutoAuto project by entering: 'cd eStoreThatSellsCarStuff'
- Now that you are in the correct directory, install the node packages with: 'npm i'.
- In the Visual Studios Explorer Window make a copy of the .env.sample file and paste it in the projects main folder.
- Rename the copied file from '.env.sample' to '.env'.
- In the .env file set the DB_NAME='auto_auto_db', fill in DB_USER='your MYSQL username here' and fill in DB_PASSWORD='your database password here'
- Now to create the database open the MySQL Command Shell using the command: 'mysql -u (your MYSQL username) -p'
- Enter the your MYSQL password: 'your MYSQL password here'
- Run the command 'source ./db/schema.sql' to create the database
- Now exit MySQL using '\q'
- Enter the command 'npm run seed' to populate the database with data
This initializes the project to d 'node ./seeds' This will see the wwebsite!As for seeding the deployed heroku website, in the terminal in the app dyno in heroku and enter the command: 'heroku run bash' followed by the command 'node ./seeds' This will see the wwebsite!
To run the application open the projects main folder in the terminal
Enter the command npm start
Collaborators:
- Erifeoluwa Femi-ladiran Git Hub
- Adam Gaboury Git Hub
- Cindy Xin Wang Git Hub
- Antonio Rodrigo Git Hub
- Asra Pervez Git Hub
- Justin Collver Git Hub
Guide's:
- Rich Widtmann Professional README Guide
- Choose a License MIT License Template
Copyright (c) [2022] [Justin Collver]
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.