Welcome to the Choreo Book List Node.js service! This application is designed to help you get familiar with the Choreo platform and its features.
This application is a book list manager service. It allows users to maintain a book list. Users can add, remove, and get books in the book list. This application is built using Node.js and uses node in memory cache to store data.
The below table gives a brief overview of the important files in the service.
Filepath | Description |
---|---|
app.mjs | The Node.js (JavaScript) based service code. |
.choreo/endpoints.yaml | Choreo-specific configuration that provides information about how Choreo exposes the service. |
openapi.yaml | OpenAPI contract of the service. This is required to publish our service as a managed API. This openapi.yaml file is referenced by the .choreo/endpoints.yaml. |
To engage with these examples:
- Fork the Repository: Begin by forking this repository to your GitHub account.
- Log into Choreo.
- Create a project.
- In newly created project, create a Service component with NodeJs build pack.
- Test the service.
Please refer to the Choreo documentation under the Deploy Your First Service section to learn more.
- Build Pack: NodeJS
- NodeJS Project Directory:
/
- Language Version:
20.x.x
Navigate to the Node.js application directory
cd choreo-sample-book-list-service
Run the service
npm install && node index.mjs
We greatly value community insights:
- Contribute: Got a new example or an enhancement? We'd love to incorporate it.
- Feedback: Encounter issues or have suggestions? Please raise them under this repository's issues section.