Giter VIP home page Giter VIP logo

portfolio3's Introduction

Portfolio 3 project

Welcome to my third portfolio project. For this assignment, I created a simple 5 question quiz within python. It is a simple programme that asks the user for five inputs to easy questions. It then uploads them to a linked Google Doc and reads the users answers back to them before finishing. you can find a web viewable version of the programme here

Features

Existing Features

  • Clear instruction given at the beginnng of the programme
  • Updates given as inputs are uploaded to google doc
  • Answers read back to the user following the conclusion of the data upload

Future Feature

  • Showing the user how there votes compared to others with average comparisons

Testing

i have tested the programme in the following ways

  • Passing it throught a PEP8 linter and passing without any major issues
  • Giving invalid inputs and ensuring the errors are picked up
  • Tested both in a python terminal and on Heroku

Bugs

Solved Bugs

  • During development, I encountered an amount of difficulty grabing the last entered data into the google doc. I was able to solve this by adding [-1] to the end of the following code (q1_answers_entered = SHEET.worksheet('Answers').col_values(1)[-1])

Unsolved Bugs

  • There is currently an error entering "no" for all five questions will raise a ValueError. As of deployment, I was unable to solve this issue

Deployment

I used the Code Institute provided mock terminal for deployment via Heroku

  • Steps for deployment
    • Create a Heroku app
    • Setup two Config Var elemnts. One called CREDS with the contents of the creds.json file
    • The second called PORT and set to 8000
    • Link the Heroku app to my GitHub repository
    • Deploy the app

Credits

  • Code Institute for the web based deployment terminal
  • The Love Sandwiches project for elements of the code regarding uploading data to Google Docs

portfolio3's People

Contributors

sean127 avatar

Watchers

 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.