Express api using nodejs version 16.x
.
- Clone This Repository Using HTTPS
git clone https://github.com/firmanJS/nodejs-kubernetes.git
cd existing_repo
running application three methods manually, using docker or via Makefile
- Manually :
# Install package via npm or yarn
yarn install
- Via Make :
# Build application
make docker-build
# run application after build
make docker-start
# Stop aplication
CTRL+C
# then
make docker-down
# stop application and others service
make docker-stop
# run seed
make docker-seed
kubectl apply -f deployment
Admin
username :admin
password: admin
User
username :user
password: user