Eemiaa / API-Graphs-Flask-PROJECT

API-Graphs is an MVC API developed through the Graph Theory course that performs basic operations for creating and manipulating graphs, in addition to other features (such as search) that will be inserted as the course progresses.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

API-Graphs-Flask-PROJECT

Status: Develooping ⏳

What's it?

API-Graphs is an MVC API developed through the Graph Theory course that performs basic operations for creating and manipulating graphs, in addition to other features (such as search) that will be inserted as the course progresses.




How to use this api?

Environment preparation

I suggest that you create your own virtual environment for the project.

After activating the environment, run requirements.txt to install the dependencies, as follows:

$ pip install -r requirements.txt

Run the API

In the terminal and with virtualenv activated, run the following command:

$ FLASK_APP=run.py flask run

Or same:

$ python3 run.py

Thus, you will receive in the terminal the address where the API is running and its status.

Test the API

Here I am using Postman to test the requests. The collection file is the API-Grafos.postman_collection.json, have fun!

About

API-Graphs is an MVC API developed through the Graph Theory course that performs basic operations for creating and manipulating graphs, in addition to other features (such as search) that will be inserted as the course progresses.


Languages

Language:Python 100.0%