Use Jinja to render an API and Flask to make a route to send an API
The purpose of the project is handle two APIS:
The first API is host in the cloud and needed to get specific information about the facts of the cats and this information after is render in a DOOM format and all the facts are iterator in a tag li and the development is make in the Test directory
The second API is make from zero and used information get in a database, the information is about construction tasks and every task is make for a specific employee and the API contain a dictionary with a list of tasks and other the users
Pyhton 3.8 with the language programming for the development, and following libraries:
Before to use, the project is needed to have Visual Studio and installed Python 3.8
After of had all becoming installed, may continue
- Clone the repo
https://github.com/felipeholbi/Lab_Flask_Jinja.git
- Choose the directory to used
- Join to root directory cd Lab_Flask_Jinja/
- See the API in the cloud cd Test/
- Used the API of work construction cd Flask
Running the comands in terminal
- Execute in the command line /hechosGatos.py
- Note: If the file not running apply this command chmod u+x ./hechosGatos.py to change the privileges to may run the script
- Execute in the command line Flask run
- Copy this URL in the browser http://127.0.0.1:5000 before to see the various constrution work input in the end of the URL a number 1 to 31 http://127.0.0.1:5000/proyecto/1 You may also link to more resources.
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
- Felipe Rios - Backend Developer - GitHub - Development all project