Skip to content

deepakreddy88/gke-simple-app

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deploy a simple Node.js app on Kubernetes (GKE)

Deploy on Kubernetes (GKE)

Read here

Run

git clone https://github.com/sonufrienko/gke-simple-app
cd gke-simple-app/app
npm i
npm run start

App

The app built with Node.js and allow AES encryption/decryption using HTTP request.

Browser

Encrypt a "message" with "secret"

http://localhost:4000/encrypt?secret=8650&message=i-love-you

Decrypt a "message" with "secret"

http://localhost:4000/decrypt?secret=8650&message=12840030619419b8d8ec4fe61e275d99

CURL

Encrypt a "message" with "secret"

curl -G 'http://localhost:4000/encrypt' \
-d secret=8650 \
-d message=i-love-you

Decrypt a "message" with "secret"

curl -G 'http://localhost:4000/decrypt' \
-d secret=8650 \
-d message=12840030619419b8d8ec4fe61e275d99

About

Deploy a simple Node.js app to Kubernetes (GKE)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 75.2%
  • Dockerfile 24.8%