Flask is a micro web framework written in Python. It is classified as a microframework because it does not require particular tools or libraries.
- ✨Magic ✨
- Say Hello
- Add two numbers
- Subtract two numbers
- Multiplication of two numbers (can easily be scaled)
- Give a random image Like Lorem Picsum
Caprover is a tool that turns your personal VPS into a Platform as a Service comparable to dokku or Heroku.
-
Create a new app named
flask
(or anything else you like) in theCaprover interface
-
Inside the
HTTP Settings
section of the new app enable HTTPS and selectForce HTTPS by redirecting all HTTP traffic to HTTPS
-
On your local machine, clone this repository and
cd
into itgit clone https://github.com/prakasharyaman/Flask-Api.git && cd flask
-
Run
caprover deploy
and select your server and the app you just created- If this command doesn't exist, make sure that you followed Step 3 of Getting Started with Caprover
MIT