Skip to content

A full stack web application that allows users to buy cars, book test drives and so much more

Notifications You must be signed in to change notification settings

FOR-TIMI/AutoAuto

Repository files navigation

AutoAuto

Description

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.

AutoAuto Website

Table of Contents

URLs

Github repositry link: https://github.com/FOR-TIMI/AutoAuto
Deployed application link: https://stormy-wildwood-35895.herokuapp.com/

Installation

To Install and begin working on the AutoAuto project follow these easy steps:

  1. Open the terminal at the directory you would like to clone the project
  2. In the terminal enter: 'https://github.com/FOR-TIMI/AutoAuto.git' to create a clone of the AutoAuto Repo
  3. In the terminal enter: 'code .' to open the project in the Visual Studios development environment

npm Installation

  1. 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'
  2. Now that you are in the correct directory, install the node packages with: 'npm i'.

npm Installation

  1. In the Visual Studios Explorer Window make a copy of the .env.sample file and paste it in the projects main folder.
  2. Rename the copied file from '.env.sample' to '.env'.
  3. 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'

env Example

  1. Now to create the database open the MySQL Command Shell using the command: 'mysql -u (your MYSQL username) -p'
  2. Enter the your MYSQL password: 'your MYSQL password here'
  3. Run the command 'source ./db/schema.sql' to create the database
  4. Now exit MySQL using '\q'

env Example

  1. 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!

Usage

To run the application open the projects main folder in the terminal Enter the command npm start

Credits

Collaborators:

Guide's:

License

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.

About

A full stack web application that allows users to buy cars, book test drives and so much more

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •