- Node.JS
- MySQL
To install, clone the repo to your local machine. In the root of the clone, run npm install
in the command line to download all dependencies. Create a file called .env
in the directory and copy the following snippet:
DB_NAME='ecommerce_db'
DB_USER='root'
DB_PW='Your MySQL Password'
Update the above with your personal information and you are set to go.
To use the application, sign into your MySQL shell using the command npm run sql
; from that shell run source db/schema.sql
. Exit the SQL shell and enter npm run seed
this creates and seeds the database. From here you are good to go, enter npm start
once more and the datbase will be live.
Feel free to use, copy, and contribute as you see fit.
All tests were completed through Insomnia
This project was done under the MIT license. To know more about it, please click here: MIT
Please visit my GitHub page: https://github.com/sam-walters93
For more information please email me at: [email protected]