This application is designed for a shopping cart.
###Technologies
- Node JS
- MySQL
###Web framework
- Express
###Installation
- Clone from the Github
git clone https://github.com/bandaranaike/node-shopping.git
. - Go to the folder
cd node-shopping
. - Initialize dependencies
npm install
. - Create the database
node_shopping
. - Import
node_shopping.sql
located in root dir - Setup a user for this database and update user details with host details in
routes/connection.js
file. Default username iseranda
and password ispassword
. - Run the app. Use
npm start
orforever start ./bin/www
if forever has installed. - Navigate to the
http://localhost:3000
using the browser.
###Known issues
- Not tested properly. It may have some errors.
####Time Line
- Installed express
npm install express
. - Installed express-generator
npm install express-generator
. - Created the skeleton of the project
express node-shopping
. - Initialize the project
npm init
. - Installed MySQL
npm install mysql
. - Installed gulp
npm install gulp
. - Installed twitter bootstrap
npm install bootstrap@3
. - Added Database file.
- Installed express session
npm install express-session
. - Installed gulp sass
npm install gulp-sass
. - Developments of the app.
- Installed forever globally to keep server running continuously
npm install forever -g
.