Skip to content

This is the Deep Sea AI back-end database and API. The technology stack includes Nexus, GraphQL, Prisma, and a Postgres database.

  • Nexus is a library that helps create type-safe GraphQL APIs
  • GraphQL "is an open-source data query and manipulation language for APIs, and a runtime for fulfilling queries with existing data. GraphQL was developed internally by Facebook in 2012 before being publicly released in 2015."wikipedia
  • Prisma is a next-generation ORM that simplifies databases for application developers
  • Postgres is a relational database

 Image link

In development mode you can interact with the database in a graphical interactive tool developed by Prisma called GraphQL Playground. After installation for development mode, open http://localhost:4000/api to explore the data in the tool. Check-out example queries here.

Example view of the playground

 Image link

Schema

The current database schema [click image below to see larger example] Image link

Questions?

If you have any questions or are interested in contributing, please contact me at dcline@mbari.org.

Danelle Cline https://www.mbari.org/cline-danelle-e/


License