| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- this does not yet remove the models
- uses sqlite3 driver
- changes the config based on sqlite3
- tests pass but no depth in investigating the models
The sqlite3 database is going to be used for storing user data and
tokens only - we are not going to store the models in a database at this
point.
If we want to start saving datamaps, datamaplines, returns and
returnlines, etc, we will need the models but as of this commit the
models are still in the code.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We can now submit a datamap.csv and a single return xlsx file using
the following command, and get a Return JSON string back with the parsed date:
`curl -X POST -F "file=@./datamap.csv" -F "returnfile=@./resources/test_two_sheets.xlsm" \
-F "name=bobbins" -F "description=This is a long description of the datamap." \
http://localhost:5000/v1/return`
I have renamed the old test.xlsm file here to test_two_sheets.xlsm -
having remove a sheet from the test.xlsm. I did this to ensure that the
parsing handles multiple sheets which it does.
Still a fair amount of clearning up here but if you run the server and
send in this request, it works.
|
|
|
|
|
|
|
| |
Test a function that gets all sheets from a datamap struct.
A new function to handle a datamap and a return together in one POST
request.
|
| |
|
|
Adds key commands to Makefile
|