Skip to content

saurabh1969/PEcAN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PEcAN App

Meta-Data Upload Interface

Description

This is simple counter application, using flask microframework and sqlite3 to load the metadata csv to SQLIte database.

Install guide

Clone the repo

git clone https://github.com/saurabh1969/PEcAN.git

Running App Local

Go to app folder

cd app

Create the virtualenv

mkvirtualenv app

Install dependencies

pip install -r requirements.txt

Run the app

python routes.py

Endpoints:

  1. Uploading the csv : curl -X POST http://127.0.0.1:5000/insert?file=switchgrass.csv

  2. Searching: curl -X POST http://127.0.0.1:5000/search?id=4

License

This project is licensed under the MIT open source license.