Skip to content

Latest commit

 

History

History
78 lines (53 loc) · 2.12 KB

README.md

File metadata and controls

78 lines (53 loc) · 2.12 KB

Grocery Store

Web application of an ecommerce store.

Deployment

Mac Instructions

  1. clone the repo git clone https://github.com/brandedcow/grocery_store.git

  2. install app dependencies cd grocery_store && npm install

  3. start app node server.js

Backend Setup:

  1. install mysql brew update && brew install mysql

  2. start mysql mysql.server start

  3. create database mysql -u root -e 'create database grocery_store_database'

  4. migrate tables knex migrate:latest

Windows instructions

  1. clone repo git clone https://github.com/brandedcow/grocery_store.git

  2. install node https://nodejs.org/en/

  3. go to directory grocery_store and install dependencies cd grocery_store && npm install

  4. start server npm start

Backend Setup:

  1. install mysql via Windows installer use Developer Settings

  2. take care of any dependencies required by mysql Could include microsoft visual c++ distributables or .net frameworks

  3. Using MySQL Notifier, start instance

  4. Using MySQL WorkBench, create new SCHEMA called grocery_store_database

  5. migrate tables knex migrate:latest

Configuration

  • Platform: node
  • Framework: express
  • Template Engine: angularjs
  • CSS Framework: bootstrap
  • CSS Preprocessor: css
  • JavaScript Framework: angularjs
  • Build Tool: none
  • Database: mysql
  • Authentication: email
  • Deployment: heroku

License

MIT License (mit) Copyright 2018 r3klaw

Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.