An open API service indexing awesome lists of open source software.

https://github.com/scorpiocoding/dockerized_react

Dockerized React
https://github.com/scorpiocoding/dockerized_react

Last synced: 23 days ago
JSON representation

Dockerized React

Awesome Lists containing this project

README

          

# Dockerized React Web Application

## REACT.md

React.md is the official documentation that comes with creating a react app.

## Versions

### 0.1.0 : Starter React Folder (+ clean up)

=> `npx create-react-app . --template clean-cra`
=> `npm start` start development server
=> `npm run build` create production app
=> `ctrl+c` stop development server
=> remove unwanted files and folders
=> create new folder structure.
=> mod index.html

### 0.1.1 : Sync up local git with gitHub

=> `git remote add origin git@github.com:__domain__/__repo__`
=> `git branch -M main`
=> `git push -u origin main`

### 0.1.2 : Dockerize React Web Application

=> add: Dockerfile
=> add: Docker-Compose file
=> add: dockerignore file
=> `docker compose up -d --build` start command
=> `docker compose down -v` shutdown command
=> `localhost:4080` docker port (one can change this)

### 0.1.3 : Update Dependencies (package.json)

=> `npm update`

### 0.1.4 : Sass

=> `npm install sass`
=> add: folder css
=> remove index.css
=> add: App.scss
=> mod: App.js