Skip to content

This repository demonstrates how to dockerize and deploy a React application to Back4app Containers.

Notifications You must be signed in to change notification settings

duplxey/back4app-containers-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

back4app-containers-react

This repository demonstrates how to dockerize and deploy a React application to Back4app Containers.

To learn more check out the article.

Development

  1. Fork/Clone

  2. Install the dependencies:

    $ npm install
  3. Run the server:

    $ npm run dev
  4. Navigate to http://localhost:3000/ in your favorite web browser.

Deploy (Docker)

  1. Install Docker (if you don't have it yet).

  2. Build and tag the image:

    $ docker build -t react-pomodoro:1.0 .
  3. Start a new container:

     $ docker run -it -p 3000:3000 -d react-pomodoro:1.0
  4. Navigate to http://localhost:3000/ in your favorite web browser.

About

This repository demonstrates how to dockerize and deploy a React application to Back4app Containers.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published