Code Monkey home page Code Monkey logo

lukestorry / windsurf-shop Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 3.3 MB

A simple web shop written for the University of Bristol’s COMS32500 (Web Technologies). Uses a Node.js Express Server to deliver validated XHTML rendered by the Pug templating engine, with adapted Bootstrap styling.

Home Page: https://windsurf-shop.herokuapp.com/

License: MIT License

JavaScript 65.86% HTML 33.32% CSS 0.82%
nodejs pugjs expressjs sqlite3 shopping-cart online-shop windsurfing

windsurf-shop's Introduction

windsurf-shop

A simple web store, with a range of windsurfing products dynamically loaded from a database, a user accounts system, a shopping-cart stored in cookies, a search feature, and a design-your-own-sail app.

herokubadge Licence MIT FOSSA Status

Originally written for the University of Bristol's COMS32500 Web Technologies unit.

Deployed on Heroku: WindsurfShop

Installation

Simply clone the repo, and install dependencies:

git clone http://github.com/lukestorry/windsurf-shop
cd windsurf-shop
npm install

Usage

npm start runs the server with node, head to http://localhost:3000/ to see it.

npm run devstart same as above, but with nodemon, so the server restarts upon file changes.

npm run deploy deploys to Heroku, if the remote app has been set up.

npm run reset-database removes the database, and instantiates new empty tables.

npm run update-products overwrites the products table in the database with the contents of the products.csv file.

npm run check-database outputs the schema and names of items of both the user and products table, to check functionality.

Main Technologies

Uses a Node.js Express Server to deliver XHTML rendered by the Pug templating engine, with adapted Bootstrap styling.

Bcrypt and Passport handles authentication and authorization, with CSRF protection from csurf

Products and users are stored in an SQL database accessed and monitored using sqlite3.

Licenses & Copyright

Products, images, and descriptions are retouched/edited versions of products for sale at Boardwise.

Express-generator was used to get up and running (MIT License).

All other modules used are listed in package.json, and apart from sqlite3, (which has a BSD-3-Clause Licence), they are all licensed under the MIT License.

 

Fossa Licences Analysis:

FOSSA Licences Scan Results

windsurf-shop's People

Watchers

 avatar  avatar

Forkers

fossabot

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.