Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

BACK-END 

Getting Started

The backend development relies on the Docker container, please carefully follow this guide https://confluence.cornell.edu/pages/viewpage.action?pageId=388254416 to set up the container. 

The test server can be accessed from MongoDB Atlas, please follow the ``MongoDB Atlas`` section in this guide https://confluence.cornell.edu/display/INP/BioHPC+and+MongoDB+Atlas+Set-up. The prod server is on BioHPC and we can access it through Postman, etc. Be careful when sending requests to the prod server.

Note: Samples are identified by their barcode ids. If submit two surveys with the same barcode, then the latest submitted survey will replace the old one. Even if different users use the same barcode, the sample will get replaced. So when testing, if you do not scan a barcode, the sample will always be stored as no barcode, and the database will always only store the latest survey.

Postman

Postman is useful for sending HTTP requests to the back-end APIs. 

  1. Install Postman
  2. Checkout Backend Online APIs  for Backend Online APIs