Giter Site home page Giter Site logo

node-express-workout-app's Introduction

Express CI CD Application with Harness

To run the application in local

  • The application needs atleast node 18.x.xx to run. If you have nvm installed do nvm use or manually install the required node version
  • Run npm run clobber and npm i to install the dependencies
  • With hot-reload npm run dev
  • With hot-reload and eslint enabled npm run dev-reload
  • Without hot-reload npm run start

To run the application in local against prod env

  • With hot-reload npm run dev-prod

To run the application in production mode

  • With pm2 npm run prod-pm2
  • Without pm2 npm run prod

To run the application in local using Docker (make sure docker is installed)

  • docker build --no-cache -f ./Dockerfile -t workout-app .
  • docker run -dp 5000:5000 workout-app

To push the images to docker hub

  • docker buildx create --name mydockerbuilder --driver docker-container --bootstrap
  • docker buildx use mydockerbuilder
  • docker buildx inspect
  • docker login --username <docker-hub-username> --password <docker-hub-password>
  • docker buildx build --no-cache --platform=linux/arm64 --platform=linux/amd64 -t docker.io/<docker-hub-username>/<image-name>:<tag> --push -f ./Dockerfile . or
  • docker build --no-cache --platform=linux/arm64,linux/amd64 -f ./Dockerfile --push -t <docker-hub-username>/<image-name>:<tag> .

node-express-workout-app's People

Contributors

pashamakhilkumarreddy avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.