Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"python.pythonPath": "/home/siddharth/.virtualenvs/flask/bin/python"
}
6 changes: 5 additions & 1 deletion app.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from flask import Flask
from flask import Flask,render_template
from flask_cors import CORS
from routes.routes import router

Expand All @@ -9,5 +9,9 @@

app.register_blueprint(router, url_prefix="/math")

@app.route("/")
def index():
return render_template('index.html')

if __name__ == '__main__':
app.run(port=PORT)
15 changes: 15 additions & 0 deletions templates/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>HACKTOBERFEST</title>
</head>
<body>
<h1>Welcome to Hacktober Fest</h1>
<input type="text" name="name" placeholder="ENTER YOUR NAME">
<input type="submit" name="submit" >

</body>
</html>