Skip to content
No description, website, or topics provided.
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
controllers
routes
README.md
app.js
package-lock.json
package.json

README.md

Microservice demo - node

This is a "Hello World"-API for the docker/kubernetes-assignment in the course 1dv032 at Linnaeus university. More information: https://coursepress.lnu.se/kurs/systemadministrationii/examination/

The application is written in node.js

The application uses a redis cache server for handling data. The connection string to the redis server should be provided through the environment variable REDIS_URL

API

The API have one route at '/' It will return a json-object with the property "message"

Example

request: http://<url-to-service>
response:
  {message: "Hello from node service, with data from redis :)"}
You can’t perform that action at this time.