bilva-sanaba / Duke-Food-Pal

A website for helping a Duke student keep track of their diet and spending while also offering suggestions based on nutrition and price. Written using Node with Express and SQL (sqlite3)

Home Page:http://dukefoodpal.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FoodPal

A data driven website which allows Duke students to make more informed decisions on what to eat in terms of popularity and nutrition.

Created by Bilva Sanaba, Teddy Ruby, Ryan Pond, Alex Boss, and Katie Van Dyk

Construction

The website is built using Node.JS with Express. The database is implemented with sqllite3.

Project Structure

top-level

Contains app.js which routes the entire website as well as various metadata

public

Contains all static html.

public/queries

Contains all queries used for graphs, diary log, login/logout, etc. These files are used by app.js in http requests.

public/database-backend

Contains all nutrition and vendor data used for database as well as scripts for generating a sqlite3 database using this data.

public/web-backend

Contains all javascript files used by the static html pages to create various functionality.

Access the Website

The website is live and can be found at http://dukefoodpal.herokuapp.com/.

Create an account or check out one of the following:

Username: ryanpond21 Password: pass

Username: katie Password: pass

Host the Website

To host the website first download or clone the repository.

Install the needed dependencies with:

npm install

To locally run the site type:

node app.js

About

A website for helping a Duke student keep track of their diet and spending while also offering suggestions based on nutrition and price. Written using Node with Express and SQL (sqlite3)

http://dukefoodpal.herokuapp.com/

License:Apache License 2.0


Languages

Language:JavaScript 49.4%Language:HTML 38.8%Language:CSS 7.3%Language:Python 4.5%