Skip to content

Commit

Permalink
flake
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtaszczyk committed Aug 9, 2024
1 parent b3e00d8 commit 6747305
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
14 changes: 14 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
from flask import Flask, jsonify

app = Flask(__name__)

@app.route('/')
def home():
return jsonify({'message': "Welcome to the API!"}), 200

@app.route('/about')
def about():
return jsonify({"version": "0.1", "author": "Alx"}), 200

if __name__ == '__main__':
app.run(debug=True)
4 changes: 2 additions & 2 deletions wymagania.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
currencies
pytest
selenium
selenium
Flask

0 comments on commit 6747305

Please sign in to comment.