0.0.3 • Published 4 years ago
@symbiota2/api-auth v0.0.3
Symbiota2 API
This is a monorepo for the various Symbiota2 API packages and plugins. It is managed by lerna.
Packages
- The config package (@symbiota2/api-config) is responsible for loading configuration values from environment variables into Symbiota2.
- The database package (@symbiota2/api-database) is responsible for access to the Symbiota2 MySQL/MariaDB database
- The auth package (@symbiota2/api-auth) is responsible for authenticating and authorizing users.
- The core API server package (@symbiota2/api-server) is responsible for actually running the app, and depends upon all the above packages.
Plugins
- The occurrence plugin (@symbiota2/api-plugin-occurrence) provides API routes for accessing occurrence data
Development
To build and link the packages and plugins:
$ npm i
$ npx lerna bootstrap
To Run the development server
$ npm run start:dev