- Install Node.js at https://nodejs.org/en/download/.
- Open a terminal in the project root.
- Run "npm install" command.
- Configure the VUE_APP_API_URL variable in .env.development to the URL of a locally hosted backend.
- Run "npm run serve" command to start a development server and navigate to http://localhost:8080/ in a web browser.
- Create a .env.production.local file in the project root.
- Configure the VUE_APP_API_URL variable to the URL of the backend REST API server.
Function | Command |
---|---|
npm install | Install dependencies |
npm run serve | Run development server |
npm run build | Build for production |
npm run lint | Run linter |
npm run test:cypress | Run end-to-end tests |