mirror of
https://github.com/janishutz/fundamentals-of-webengineering.git
synced 2025-11-25 05:44:24 +00:00
Task 3: React Frontend
This commit is contained in:
29
task_3_react/README.md
Normal file
29
task_3_react/README.md
Normal file
@@ -0,0 +1,29 @@
|
||||
# Local Development
|
||||
|
||||
Only change files inside the `src` directory.
|
||||
|
||||
## Client side
|
||||
|
||||
All client side files are located in the `src/client` directory.
|
||||
|
||||
## Server side
|
||||
|
||||
All server side files are located in the `src/server` directory.
|
||||
|
||||
# Local Testing
|
||||
|
||||
## run container for local testing
|
||||
|
||||
```bash
|
||||
docker build -t my-webapp .
|
||||
|
||||
docker run -it --rm -p 5173:5173 my-webapp
|
||||
```
|
||||
Open a browser and connect to http://localhost:5173
|
||||
|
||||
## run bash in interactive container
|
||||
```bash
|
||||
docker build -t my-webapp src/.
|
||||
|
||||
docker run -it --rm -p 5173:5173 my-webapp bash
|
||||
```
|
||||
Reference in New Issue
Block a user