Technophobes / zoo

0 stars 0 forks source link

Create an API design document so all data can be imported through the api #15

Open scottzec opened 4 years ago

scottzec commented 4 years ago

Currently our integration test data.py is not inserting data through the api

Document describes all api endpoints, their purpose, what the input should be/look like

Need an api for adding genus, species & specimen

Need to enable end-to-end testing for a sufficient integrative test

Can our endpoint unpack everything (dict within a dict within a dict) i.e. adding Specimen, which also adds Species and Genus (using ids) How intelligent is our api going to be? How dumb? Ask a senior developer how they should do it. Put together an api design document with them.

ferrau10 commented 4 years ago

What are the API endpoint going to be? What is the frontend design looking like? What are the wireframes going to look like? - we need to both work together and make decisions about it.

ferrau10 commented 4 years ago

Main page: Welcome to zoo !

small explanation text

links for all the different endpoints (ex: add specimen add genus ...)

Made by ...

ferrau10 commented 4 years ago

Add Genus page

Please fill in the table Scientific name ...

ferrau10 commented 4 years ago

Add Species page

Please fill in the table Genus ... Scientific name ... Common name ...