https://github.com/antoniozcode/rest-api-papeletas-peru
https://github.com/antoniozcode/rest-api-papeletas-peru
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/antoniozcode/rest-api-papeletas-peru
- Owner: AntoniozCode
- Created: 2022-04-14T23:35:34.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-04-18T22:35:26.000Z (about 4 years ago)
- Last Synced: 2025-01-24T04:24:34.817Z (over 1 year ago)
- Language: Python
- Size: 6.31 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```