- Use
npm run back:watch
to run the backend andnpm run front:watch
for 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.js
and gets hosted at http://localhost:8080/dist/frontend/main.bundle.js. - The
static
folder gets hosted at http://localhost:8080/static. - Any request starting with http://localhost:8080/client returns
static/index.html
which allows the frontend app to perform its own routing within the/client
directory. - The backend should probs serve everything from
http://localhost:8080/api
. npm install --save-dev react react-dom
to install packages (in this casereact
andreact-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
Packages 0
No packages published