This is the repository for team "PROPHETS" in Mr. Mortensens Period 3 Data Structures class.
As for our individual work, we have a section in the navbar called 'Minilabs' that you can click to locate each contributor's work from the trimester!
{% extends "base.html" %}
<html lang="en">
{% block content %}
<!--<script>
function success() {
if(document.getElementById("textsend").value==="") {
document.getElementById('button').disabled = true;
} else {
document.getElementById('button').disabled = false;
}
}
</script>
-->
<div style="white">
<div class="container">
<div class="center-block">
<h1 class="col-12" style="text-align:center; color:lightgray;"><strong>BubbleSort</strong></h1>
<div class="jumbotron text-center row" style="background-color:slateblue;">
<div>
<h3>Input</h3>
<form id="stringForm" action="/sambubblesort" method="post" style="width:500px">
<textarea name="string" class="input" id="string" type="integer" style="height:71px; overflow:hidden; resize:none" onkeyup="success()" placeholder="Enter as many numbers as you want"></textarea>
<button type="submit" id="button" style="background-color:peachpuff;">Submit</button>
</form>
</div>
<div class="col-md-6">
<table class="mx-auto">
<tr>
</tr>
<tr>
</tr>
<tr>
<th class="row" style="color:tomato">Sorted List:</th>
</tr>
<tr>
<td>{{sorted_list}}</td>
</tr>
</table>
</div>
</div>
</div>
</div>
</div>
<script>
var submitButton = document.getElementById("button");
submitButton.addEventListener("click", function(){
console.log('clicked')
}, false);
</script>
{% endblock %}
</html>
from flask import Flask, redirect, url_for, render_template, request, session
import requests as r
app = Flask(__name__)
@app.route("/random_cat_fact", methods=["GET"]) def random_cat_fact(): x = r.get("https://catfact.ninja/fact?max_length=140") data = x.json() fact = data.get("fact")
return fact
if name == "main": app.run(debug=True, port=3000)
## Deployment Section (3pt)
- How It's Made section (+2pt How Its Made, +1pt Visuals)
- This is our 'How it's Made'
- Commercial (+2pt)
- [LINK TO VIDEO](https://youtu.be/wpunaUXwuGU)
- Failed to Deploy on Mr. M's Machine(-1pt)
# Links
Project Plan: https://docs.google.com/document/d/1KWPlPDd_6blTJ15MXSY9-g9YZ7K22wgo52YYNsyNvW8/edit
Project Board: https://github.com/macddmac/P3PROPHET/projects/1
Runtime Link: http://animalsoftheworld.cf/
# Umbrella Ticket with Individual Tasks for EOY
- [Umbrella Ticket](https://github.com/macddmac/P3PROPHET/issues/17)
- In this Umbrella Ticket you will find each of the contributors' goals for the final project
- Currently we have our checkpoints for 6/1 completed and linked as well as our general plans for the next week
# Contributors(+ individual ideas)
- Rohan - Look to set up graphing system to track trends and represent data
- Sam - RPI owner and works with the back end of the code to create routes
- Shekar - Works with the front end to make the site more aesthetically pleasing with images and such
- Jason - Our other back end coder who created the blueprint and helps make our website more efficient
- Rivan - Our alternate front end coder who is focusing on analyzing data for endangered species
# What is our project?
Our project focues on endagered animal species and shows trends in the statistics related to them! We also give information through fun activities for kids and adults. People of all ages can navigate and learn about all kinds of animals and hopefully gain insight into how precious they are to our world.
# What will the website feature?
- Home page with navigation options to our key wesbite highlights
- Cat API that gives random facts about cats
- Login system used for new/old users to log in and access our page
- Cool looking tiger animations
- About us page that gives credit to everyone that helped build the page
- Data storage page that gives information about animals not specially featured
- Minilabs where collaborators can show cool codes that have built
---------------------------