- Use
npm run back:watchto run the backend andnpm run front:watchfor the frontend. They should both automatically restart whenever you change appropriate files. The server is hosted on http://localhost:8080/client by default (and also uses port 8081 for live reloading). - The frontend is built into
dist/frontend/main.bundle.jsand gets hosted at http://localhost:8080/dist/frontend/main.bundle.js. - The
staticfolder gets hosted at http://localhost:8080/static. - Any request starting with http://localhost:8080/client returns
static/index.htmlwhich allows the frontend app to perform its own routing within the/clientdirectory. - The backend should probs serve everything from
http://localhost:8080/api. npm install --save-dev react react-domto install packages (in this casereactandreact-dom).
-
Notifications
You must be signed in to change notification settings - Fork 0
winestone/cse-hackathon-2021
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published