Architecture
Last updated
Was this helpful?
Last updated
Was this helpful?
The CBO provides an efficient API for interacting with listings, services and organizations in our graph database.
SSN for organization uses the same schema and architecture as SS service. See full details
A Graphql API is exposed , and from here you can interact and see the schema along with documentation.
We majorly use GRANDstack and a mixture of other tools listed below:
Programming Language: JavaScript
Frameworks: Nodejs, Express, Apollo, Graphql, React
Core Database: Neo4j, MongoDb
In-memory Cache: Redis
The CBO API is hosted on Heroku under the pipeline name. We have two hosted instances for both staging and production environment.
Staging: The staging environment is hosted under the name ssn-for-orgs-staging It is directly linked to the dev branch on the GitHub repository. Heroku CI/CD has been configured to automatically run tests and deploy a new version to staging on every push to dev branch.
Production: The production environment is hosted under the name ssn-for-orgs-prod
For developers, to set up a local environment, follow the steps below:
Ensure you have Nodejs (v12 and above), Yarn and Git installed.
Clone the repository:
Cd into project folder and Install packages using yarn.
Get your .env
file from your tech lead and add to your project folder.
Start the application locally:
Note: Since we expose a graphql server as, you can access the staging graphql server and for production here
We may use postman for interacting and testing some part of CBO API. Go to the Philanthrolab on postman to interact with your local instance.