Skip to content

kostaslamo/node-react

Repository files navigation

Dockerized NodeJS React Application

Stack

Quick Start

Local development

  • npm ci inside projects directory.
  • Run npm run develop inside projects directory to start up the backend and react server in development mode.
  • Client uses create-react-app server with hot reload on changes and server uses nodemon for server reloading on code changing.

Production built

  • Create server-prod-variables.env environment variables file which should be created before running docker-compose up and is required by docker-compose.yml server-prod-variables.env:

    NODE_ENV=production
    PORT=8080
    
  • Running docker-compose up --build --detach will build the client and server docker images, and then run them inside two different containers and under one container stack.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published