An open API service indexing awesome lists of open source software.

https://github.com/antoniozcode/rest-api-papeletas-peru


https://github.com/antoniozcode/rest-api-papeletas-peru

Last synced: over 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# Python Rest API

Endpoint to get traffict infractions history in Perú

# Requirements

- Python 3.8

# Instructions

1. Create virtualenv

```
python -m virtualenv venv
```

2. Activate virtualenv

We should use the activate file depending on our operating system.

```
./venv/Scripts/activate.ps1
```

3. Install dependencies

Using our virtualenv, we are going to install the dependencies.. Our dependencies are listed in the requirement.txt file.

```
pip install -r ./requirements.txt
```

3. Start the application

Run the app.py file to init the flask app.

```
python ./app.py
```