REST API written in Python Flask
- Download & install Python 3.6
- Download & install Pipenv
python -m pip install -U pip
# Clone the repository
git clone {repository name}
# Change into the directory
re-direct to cubereum_school_service directory
# Install all required dependencies with
pipenv install --deploy --skip-lock
# Activate the project virtual environment
pipenv shell
## Running the application
**Start the app**
```bash
python manage.py run
API Specifications
- GET: /school
- GET: /school/filterBy/{field}
- GET: /school/searchby/address/{value}
- GET: /school/searchby/area/{value}
- GET: /school/searchby/field/{field}/value/{value}
- GET: /school/searchby/landmark/{value}
- GET: /school/searchby/pincode/{value}
- GET: /school/searchby/schoolname/{value}
- GET: /school/sortBy/{field}/forward
Example Get all school records curl http://localhost:808/school Get some school record by pincode curl http://localhost:8080/school/searchby/pincode/560062
Mohan Raj Paramasivam