Giter Club home page Giter Club logo

choreo-sample-book-list-service's Introduction

Choreo Sample - Book List Node.js REST API Service

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.

Overview

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.

File Overview

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.

Getting Started

To engage with these examples:

  1. Fork the Repository: Begin by forking this repository to your GitHub account.
  2. Log into Choreo.
  3. Create a project.
  4. In newly created project, create a Service component with NodeJs build pack.
  5. Test the service.

Please refer to the Choreo documentation under the Deploy Your First Service section to learn more.

Use the following configuration when creating this component in Choreo:

  • Build Pack: NodeJS
  • NodeJS Project Directory: /
  • Language Version: 20.x.x

Run Application Locally

Navigate to the Node.js application directory

cd choreo-sample-book-list-service

Run the service

npm install && node index.mjs

Contribution & Feedback

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.

choreo-sample-book-list-service's People

Contributors

thusharasampath avatar maheshika avatar a5anka avatar

Stargazers

Madhunisha Balajeyandhan avatar Nadeem Inamdar avatar

Watchers

Yasith Tharindu avatar Rukshan Chathuranga avatar Tharindu Wijewardane avatar Kavith Thiranga Lokuhewage avatar Shankar avatar Manjula Rathnayaka avatar  avatar Fathima Dilhasha avatar  avatar Nuwan Dias avatar Isuru Wimalasundera avatar Uvindra Dias Jayasinha avatar  avatar  avatar  avatar Mirage Abeysekara avatar Aruni Wijesuriya avatar  avatar Sumedha Kodithuwakku avatar Menaka Jayawardena avatar Suvin Nimnaka avatar Kanagalingam Senthalan avatar Chathuranga Dassanayake avatar Chalitha Sanyuja Kulathunga avatar Viduranga Gunarathne avatar Anupama Pathirage avatar Chamupathi Gigara Hettige avatar Vajira Prabuddhaka avatar Kavishka Fernando avatar  avatar Kajendran Alagaratnam avatar Isuru Piyarathna avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.