- Description
- Installation
- Technologies
- Usage
- Future Development
- Credits
- Contributing
- Tests
- Questions
- License
With some provided starter code and a focus just on the back-end data, this app provides the code to manage the catalogue of an e-commerce store. Products, product categories, and tags can be created, read, updated, or deleted using routes.
To install this application, enter the following command into your terminal:
npm iAdditionally, you'll need to enter your mysql username and password into the '.env.EXAMPLE' file in the root folder and rename the file to '.env'.
To initialize the creation of the database, run the following script:
npm run resetdbYou'll be prompted to enter your mysql2 password. Once entered, it'll create the schema.
To use the provided seed data, run the following command in your terminal, or feel free to seed with your own test data:
npm run seedTo start the app, enter the following command in your terminal:
npm startAs the code stands, there's no front-end integration so all routes must be accessed through a URL or route-testing client (such as Insomnia). Below are a couple of screenshots and a screencaptured video of each route being tested in Insomnia.
Currently there are no plans for future development.
- Nolan Frame
Please checkout https://github.com/framenolan/.
The MIT License (MIT)
Copyright (c) 2022 Nolan Frame
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.

