Coder Social home page Coder Social logo

spa_project's Introduction

SPA_project

Single-page web application using the Flask framework for Data Representation project The module is taught to undergraduate students at GMIT in the Department of Computer Science and Applied Physics. The lecturer is Ian McLoughlin.

Web Application Project

Data Representation and Querying Project 2016

Project Overview

I have created a Single-Page Web Application (SPA) that lets users calculate BMI. This application was selected after some deliberation. Initially, I considered three different applications:

  1. A Power supply calculator alternative.
  2. A BMI calculator alternative.
  3. A Yelp alternative.

I chose BMI calculator after some consideration, as I were more interested in the idea.

The project was guided by the following excerpt from the project instructions:

You are required to develop a single-page web application(SPA) written in the programming language Python using the Flask framework. You must devise an idea for a web application, write the software, write documentation explaining how the application works, and write a short user guide for it.

How to run the application

The application is written using the Flask library in Python 3. Both must be installed to run the project.

Jinja2 was used for html inheritance.

Once these prerequisites are installed, the application can be run locally:

$ python run.py

Once the application is running, it can be accessed by pointing your browser at http://127.0.0.1:5000/ .

Architecture

This web application runs in Python 3 using the Flask web micro-framework and uses SQLite as a database. Python 3 and Flask were requirements for the project. I chose SQLite as it is easy to use and does not require much setup to get the web application up and running.

Reference

BMI.js file Adapted from: http://blog.excelstrategiesllc.com/2014/11/18/coding-your-first-javascript-bmi-calculator App Template Adapted from: https://github.com/mjhea0/thinkful-mentor/tree/master/python/jinja/flask_example

spa_project's People

Contributors

andryuha77 avatar

Watchers

James Cloos avatar  avatar

spa_project's Issues

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.