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

https://github.com/02loveslollipop/piarpis_api

A simmple API for PIARPIS project
https://github.com/02loveslollipop/piarpis_api

api-rest flask mongodb python

Last synced: about 2 months ago
JSON representation

A simmple API for PIARPIS project

Awesome Lists containing this project

README

          

# PIARPIS API

> A python API to exchange data between JS frontend and DB.

## PIARPIS API
This repository is part of the PIARPIS project, the remaining repositories are listed below:

## Installation
To setup this repository you need to have python 3.10+ installed in your machine, then you can install the dependencies with the following command:

1. Clone the repository
```bash
git clone https://github.com/02loveslollipop/PIARPIS_API.git
```

2. Create a python 3.10 or later environment using Conda (**Optional**)

```bash
conda create -n python=3.11
```

3. Install the dependencies

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

4. copy the example_config.yaml file and rename it to config.yaml

```bash
cp example_config.yaml config.yaml
```

5. Edit the config.yaml file with your Configuration

6. Run the API

```bash
python api.py
```

## Note

This API is not intended to be used in production, it is only for testing purposes.

As the API is intended to be used in a local network, it does not have any security measures, so it is not recommended to use it in a public network.

## License
[MIT](https://choosealicense.com/licenses/mit/)