GithubHelp home page GithubHelp logo

narendranjs / sample-service Goto Github PK

View Code? Open in Web Editor NEW

This project forked from roadiehq/sample-service

0.0 0.0 0.0 1.32 MB

A sample service for testing build tools, testing Backstage etc.

Home Page: https://roadie.io

JavaScript 63.89% Scala 32.28% Dockerfile 3.83%

sample-service's Introduction

alt-text

Test docs link

Sample Service

A sample service for testing build tools, displaying in Backstage, and whatever else you might need it for.

Development

First add some secrets to the .env file in the root. See the .env.sample file for suggestions of required environment variables.

Then run it locally like this:

yarn dev

Building, packaging and deployment

The sample-service is designed to be deployed on multiple platforms. For example, kubernetes via Helm and AWS Lambda. Some non ASCII code .भारत .网络

Helm

Docker images are automatically built and pushed to Docker Hub by a GitHub action when new code is merged into the master branch.

The image will be tagged with the version in the package.json.

The repo name on Docker Hub is roadiehq/sample-service.

There is a helm chart for deployment to Kubernetes.

AWS Lambda

Pre-requisites:

  1. Install the aws cli (For homebrew, use: brew install awscli).
  2. Authenticate using an access token and secret with aws configure.
yarn run deploy:lambda

To invoke it via the API Gateway trigger,

curl https://6b2w0lh8p3.execute-api.eu-west-1.amazonaws.com/default/sample-service

test

sample-service's People

Contributors

xantier avatar dtuite avatar irma12 avatar sblausten avatar iain-b avatar joaomartins51 avatar padraigobrien avatar punkle avatar lewtakm avatar ian-link-roadie avatar snyk-bot avatar martina-if avatar kissmikijr avatar dependabot[bot] avatar orkohunter avatar mcalus3 avatar roadie-backstage[bot] 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.