Skip to content

(Final assessment) Application built in 8 hours complete with frontend user interface (HTML, CSS, jQuery) and backend database (Node/Express, Postgresql, Knex)

Notifications You must be signed in to change notification settings

mschae16/AmazonBay

Repository files navigation

AmazonBay

This project is a simple e-commerce application built in 8 hours with frontend user interface (HTML, CSS, jQuery) and the backend built out with Node/Express, PostgreSQL, and Knex. Users have the ability to view order history, add items to the shopping cart, and checkout or "purchase" the order. The order will then appear in the Order History menu.

To Use

Clone down this repo

npm install

This repo uses Postgres, which you will need to install and then manually create the databases: amazonbay and amazonbay_test

Run psql

# CREATE DATABASE amazonbay;

# CREATE DATABASE amazonbay_test;

To quit: \q

Run knex migrate:latest to get the latest migration.

Run knex seed:run to seed the databases with sample data.

Run node server.js to start the server and navigate to localhost:3000 to view the app.

Run npm test to run the test suite.

Images

Landing Page

Order History and Shopping Cart

Author

This application was created by Margo Schaedel

Turing School, November 2017

About

(Final assessment) Application built in 8 hours complete with frontend user interface (HTML, CSS, jQuery) and backend database (Node/Express, Postgresql, Knex)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages