/base_react_theme

A simple react project template. This template is using React / Recoil / React Router Dom / Axios / sass

Primary LanguageJavaScript

Base React Theme

A simple react project template.

This template is using :

  • React
  • Recoil
  • React Router Dom
  • Axios
  • Sass

Environment Variables

To use axios instance, you'll need to update REACT_APP_API_URL

Installation

Download the repo

  git clone git@github.com:DamienFoulon/base_react_theme.git
  cd base_react_theme

Install the dependencies

  npm install

Run Locally

  npm run start

Deployment

You can Dockerizing the theme too, by following these instructions :

  # Build the docker image
  docker build . -t dockerized-base_react_theme

  # Check the image was correctly created
  docker images | grep dockerized-base_react_theme

  # Deploy the image with port 3000 mapped on 3000 localhost
  docker run -p 3000:3000 -d dockerized-base_react_theme

Authors

Feel free to use and share this repo, a small star would be welcome.