Use our starter application template using the NextJS framework.
View a scene, apply camera states, and see a scene item's metadata. We built this application following best practices for integrating the Vertex platform. Follow our guide to build a foundation, then add functionality to create your own prototype application using Vertex.
- Copy
.env.local.template
to.env.local
and optionally edit values - Run
docker-compose --file ./docker-compose.yml up
to start the app locally - Browse to http://localhost:3000
If you pull down changes, you'll need to run docker-compose --file ./docker-compose.yml build
to build them and then docker-compose --file ./docker-compose.yml up
again.
- Copy
.env.local.template
to.env.local
and optionally edit values - Install dependencies,
yarn install
- Run
yarn dev
to start the local development server - Browse to http://localhost:3000
public/ // Static assets
src/
components/ // Components used in pages
lib/ // Shared libraries and utilities
pages/ // Pages served by NextJS
api/ // API endpoints served by NextJS
A few options for deployment,