From 98cff39fdf37658d6738adde2d432fbcb4205066 Mon Sep 17 00:00:00 2001 From: Neil Parikh Date: Thu, 4 Mar 2021 10:36:16 -0500 Subject: [PATCH] basic readme --- backend/README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 backend/README.md diff --git a/backend/README.md b/backend/README.md new file mode 100644 index 0000000..fe126ac --- /dev/null +++ b/backend/README.md @@ -0,0 +1,20 @@ +# Links Backend + +## Setup + +1. Install Python 3. + +2. Run the following commands inside the backend folder: +``` +python3 -m venv venv +venv\Scripts\activate +pip install -r requirements.txt +python main.py +``` +3. Go to `localhost:5000` in your web browser and you should see "Hello, World!". + +## (Optional) Exercises + +- Install Postman (https://www.postman.com/downloads/) and use it make a request to this web server. +- Add a new GET route at `/test` that shows "A new route". +- Add a new POST route at `/post` that accepts a JSON body, and shows the `foo` key of the JSON. \ No newline at end of file