Web Client Setup - PARC-projects/video-query-home GitHub Wiki

Video Query Web Client is an Angular 6+ client application. The client application is backed by the RESTful Video Query API, which needs to be running side by side with this project.

Setup

Navigate to the project's root directory ./video-query-client-web.
To set up the client portion of this project, open an elevated terminal and install the Angular CLI globally, if it is not already installed.

npm install -g @angular/cli

Run following command to install the project's dependencies.

npm install

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Build for staging and production

Run npm run build to build the project. The build artifacts will be stored in the ./dist directory.
Copy the ./dist directory to the production web server of your choice, such as an Apache, NGinx, IIS, or Firebase server, or to a cloud provider of web hosting.

API

The Video Query API app needs to be running concurrently with the client app.

⚠️ **GitHub.com Fallback** ⚠️