Project 3: Portfolio: Making the Flask app for our project (+26, -0)

.flaskenv (+2, -0)

From: curriculum/section12/lectures/02_making_flask_app/end/.flaskenv

To: curriculum/section12/lectures/02_making_flask_app/end/.flaskenv

            
            new file mode 100644
index 0000000..3b09972
--- /dev/null
+++ b/curriculum/section12/lectures/02_making_flask_app/end/.flaskenv
@@ -0,0 +1,2 @@
+FLASK_APP=portfolio
+FLASK_ENV=development
        

README.md (+3, -0)

From: curriculum/section12/lectures/02_making_flask_app/end/README.md

To: curriculum/section12/lectures/02_making_flask_app/end/README.md

            
            new file mode 100644
index 0000000..db79f9a
--- /dev/null
+++ b/curriculum/section12/lectures/02_making_flask_app/end/README.md
@@ -0,0 +1,3 @@
+# Portfolio project
+
+Project description goes here.
        

__init__.py (+18, -0)

From: curriculum/section12/lectures/02_making_flask_app/end/portfolio/__init__.py

To: curriculum/section12/lectures/02_making_flask_app/end/portfolio/__init__.py

            
            new file mode 100644
index 0000000..dd0dc35
--- /dev/null
+++ b/curriculum/section12/lectures/02_making_flask_app/end/portfolio/__init__.py
@@ -0,0 +1,18 @@
+from flask import Flask, render_template
+
+app = Flask(__name__)
+
+
+@app.route("/")
+def home():
+    return render_template("home.html")
+
+
+@app.route("/about")
+def about():
+    return render_template("about.html")
+
+
+@app.route("/contact")
+def contact():
+    return render_template("contact.html")
        

about.html (+0, -0)

From: curriculum/section12/lectures/02_making_flask_app/start/.gitkeep

To: curriculum/section12/lectures/02_making_flask_app/end/portfolio/templates/about.html

            
            similarity index 100%
rename from /curriculum/section12/lectures/02_making_flask_app/start/.gitkeep
rename to /curriculum/section12/lectures/02_making_flask_app/end/portfolio/templates/about.html
        

base.html (+0, -0)

From: curriculum/section12/lectures/02_making_flask_app/end/portfolio/templates/base.html

To: curriculum/section12/lectures/02_making_flask_app/end/portfolio/templates/base.html

            
            new file mode 100644
index 0000000..e69de29
        

contact.html (+0, -0)

From: curriculum/section12/lectures/02_making_flask_app/end/portfolio/templates/contact.html

To: curriculum/section12/lectures/02_making_flask_app/end/portfolio/templates/contact.html

            
            new file mode 100644
index 0000000..e69de29
        

home.html (+0, -0)

From: curriculum/section12/lectures/02_making_flask_app/end/portfolio/templates/home.html

To: curriculum/section12/lectures/02_making_flask_app/end/portfolio/templates/home.html

            
            new file mode 100644
index 0000000..e69de29
        

requirements-dev.txt (+2, -0)

From: curriculum/section12/lectures/02_making_flask_app/end/requirements-dev.txt

To: curriculum/section12/lectures/02_making_flask_app/end/requirements-dev.txt

            
            new file mode 100644
index 0000000..4193e97
--- /dev/null
+++ b/curriculum/section12/lectures/02_making_flask_app/end/requirements-dev.txt
@@ -0,0 +1,2 @@
+black
+flake8
        

requirements.txt (+1, -0)

From: curriculum/section12/lectures/02_making_flask_app/end/requirements.txt

To: curriculum/section12/lectures/02_making_flask_app/end/requirements.txt

            
            new file mode 100644
index 0000000..8ab6294
--- /dev/null
+++ b/curriculum/section12/lectures/02_making_flask_app/end/requirements.txt
@@ -0,0 +1 @@
+flask