https://github.com/scorpiocoding/dockerized_react
Dockerized React
https://github.com/scorpiocoding/dockerized_react
Last synced: 23 days ago
JSON representation
Dockerized React
- Host: GitHub
- URL: https://github.com/scorpiocoding/dockerized_react
- Owner: ScorpioCoding
- Created: 2023-09-02T08:20:56.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-09-02T09:21:13.000Z (over 2 years ago)
- Last Synced: 2025-10-27T17:52:02.189Z (5 months ago)
- Language: HTML
- Size: 173 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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