Development Workflow - GauchoTools/GauchoCourses GitHub Wiki
WebPack Development Server
Using theFrom the frontend directory, run npm run serve
. This will start a local development server at http://localhost:8080
. This server will hot reload your changes to any files under frontend/
when you save them. By default, the development server will use the backend on the staging server. The configuration for this is in frontend/vue.config.js
.
Running the backend locally
If you are making changes to the backend, you will probably want to run it locally so you can validate your changes. Run the commands below to start the backend server.
cd backend
mvn spring-boot:run
This will start the backend at http://localhost:8088
. Notice that this port is different from the one used by the Webpack dev server.
Contributing to the frontend
- Create component
- Write tests
- Run tests
- Publish Branch, open Pull Request
- Repeat