mirror of
https://github.com/janishutz/fundamentals-of-webengineering.git
synced 2026-01-08 07:58:23 +01:00
Task 3: React Frontend
This commit is contained in:
1 parent
ebea7897f2
commit
3a61b72642
30 files changed
+820
No files matched your search
@@ -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