8000 GitHub - winestone/cse-hackathon-2021
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

winestone/cse-hackathon-2021

Repository files navigation

Setup

  1. If using vscode, probably grab: ESLint, and Prettier.
  2. npm i to install dependencies.

Development instructions

  • Use npm run back:watch to run the backend and npm 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 case react and react-dom).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0