haocow / reviewBot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python: Getting Started

A barebones Django app, which can easily be deployed to Heroku.

This application supports the Getting Started with Python on Heroku article - check it out for instructions on how to deploy this app to Heroku and also run it locally.

Alternatively, you can deploy it using this Heroku Button:

Deploy

For more information about using Python on Heroku, see these Dev Center articles:

Deploying

git push heroku main
heroku ps:scale web=1
heroku open

View logs

View prod logs

heroku logs --tail -a mighty-stream-68566

Local dev

heroku local

Actions

Simulate completing a transaction

curl --location --request POST 'https://mighty-stream-68566.herokuapp.com/transactions/' \
--header 'Content-Type: application/json' \
--data-raw '{
    "userId": "5398095040303673"
}'

About


Languages

Language:Python 99.7%Language:Procfile 0.3%