Code Monkey home page Code Monkey logo

fitness-supplements-app-wsgi's Introduction

Fitness Supplements app

Web page with a fitness supplements catalog where the users can log-in to add new supplements or products.

Tools used for this project

  • Python 3
  • HTML
  • CSS
  • Flask
  • Flask SQLAchemy
  • OAuth
  • Google Login
  • Facebook Login

Installation

1 Install Python 3

2 Install Virtual Machine

3 Download Fitness_Supplement_App.zip

Usage

1 - Extract Fitness_Supplement_App.zip in your preferred folder. Open terminal and change your working directory to the folder where you uncompressed the Zip file using the "cd" command and execute the python file using "phyton3 app.py".

$ vagrant up
$ vagrant ssh
$ cd "Uncompressed Fitness_Supplement_App.zip File Path"
$ phyton3 app.py

2 - Navigate through the different supplements and products using the pointer, a click over "Supplements" will display its products, a click over "Products" will display its information.

3- Login to add, edit and delete products, for supplements you can just add and edit. Once logged in the buttons will be available next to each supplement or product if it was created by the logged user.

JSON API

To get the information as JSON files the following routes can be used:

Get all supplements: /API/supplement/all/JSON

Get a specific supplement by id: /API/supplement/int:supplement_id/JSON

Get a specific supplement by id: /API/supplement/int:supplement_id/JSON

Get all supplement products by supplement id: /API/supplement/int:supplement_id/product/all/JSON

Get a specific product by id: /API/supplement/int:supplement_id/product/int:product_id/JSON

Known Issues

The facebook login may not work for not facebook API administrator users since it requires a secure connection.

License

Free Software

fitness-supplements-app-wsgi's People

Contributors

luisruizlatic avatar

Watchers

James Cloos avatar  avatar

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.