This demo app is a simple API that returns user information built with
- nodejs backend with express module
Step 1:
brew install node
Step 2:
npm init
npm install express --save
Step 3:
node index.js
Step 4:
http://localhost:3000
Step 5:
FROM node:alpine
WORKDIR /app
ADD . .
RUN npm install
CMD node index.js
Step 6:
docker build -t user-service-api:latest .