To use this application, you will need to first clone this repository then once you have in your local storage and you've open it in your source-code editor you will need to proceed to create your .env
file with the following data
DB_USER='@your user name'
DB_PW='@your password'
DB_NAME='ecommerce_db' - Database name for this project
After this you will need to create the Schema in your MYSQL shell, once you've done this step install your node modules with the following command npm i
using your CLI and then run the command npm run seed
to seed your DataBase, after this you are ready to start your server with the command npm start
your program will be listening from Port: 3001
.
Once you've done the last step, you can start using your REST client. For more please watch the following video by clicking on the Google Drive link down below.
Internet retail, also known as e-commerce, is the largest sector of the electronics industry, generating an estimated $29 trillion in 2019. E-commerce platforms like Shopify and WooCommerce provide a suite of services to businesses of all sizes. Due to their prevalence, understanding the fundamental architecture of these platforms will benefit you as a full-stack web developer.
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.
-
Dependencies:
"dotenv": "^8.2.0",
"express": "^4.17.1",
"morgan": "^1.10.0",
"mysql2": "^2.1.0",
"sequelize": "^5.21.7"