mrpandat / basic-react-node-docker-heroku

This is the simpliest Node + React + Heroku + Docker Application, with automatic CI / CD on Github / Heroku.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Basic-react-node-app-heroku

This is the simpliest Node + React + Heroku + Docker Application, with automatic CI / CD on Github / Heroku.

Demo

https://basic-react-node-docker-heroku.herokuapp.com/

Get started on local

Build your frontend app: npm run build

Start your node server: npm start

Host your application

  • Fork this repository
  • Replace all the secrets in github repository
  • Connect your github repository with your heroku app
  • Deploy your App
  • Enjoy

Secrets

To enable Heroku and/or Dockerhub, you have to change the secrets in your github project.

See how to add a secret to your github repo here

HEROKU_APP_NAME : Your Application name on Heroku

HEROKU_API_KEY : Your Heroku API secret key

DOCKER_USERNAME : Your Dockerhub username

DOCKER_PASSWORD : Your Dockerhub password

DOCKER_REPO : Your Dockerhub registry

About

This is the simpliest Node + React + Heroku + Docker Application, with automatic CI / CD on Github / Heroku.


Languages

Language:HTML 60.9%Language:JavaScript 20.0%Language:CSS 11.9%Language:Dockerfile 7.1%