Skip to content

High-PO/Nodejs_dynamoDB_Docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Application Description

This Application Create Language is Node.js and uses AWS SDK

Use Stack :

  • AWS_SDK
  • DynamoDB
  • AWS_CLI
  • Docker
  • git
  • cURL
  • Node.js

Edit Part

server.js

<DynamoDB_Region>

DynamoDB_Region in your DynamoDB region

<DynamoDB_Name>

DynamoDB_Name in your DynamoDB Name

Dockerfile

<Access_ID>

Access_ID in your AWS IAM User AWS Access_ID

<Secret_Access_Key>

Secret_Access_Key in your AWS IAM User AWS Secret_Access_Key

<Region>

Region in your AWS Region

Git Clone & Dockerbuild

git clone https://github.com/High-PO/Nodejs_dynamoDB_app.git
docker build -t nodymo:2.3 .

Work

POST Method

curl -d '{"id":"omy", "passwd":"1234"}' \
-H "Content-Type: application/json" \
-X POST http://<domain>:8080/ui

GET Method

curl -d '{"id":"omy"}' \
-H "Content-Type: application/json" \
-X GET http://<domain>:8080/ui

Docker run Example

docker run - d -p 8080:8080 nodymo:2.3

About

Docker_Version

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published