Skip to content

SJSUProduceGoose/frontend

Repository files navigation

Produce Goose (Frontend)

The user-interface for the Produce Goose server.

Look at the nuxt 3 documentation to learn more.

Setup

Make sure to install the dependencies:

# npm
npm install

Development Server

Start the development server on http://localhost:3000

npm run dev

Production

Build the application for production:

npm run build

Locally preview production build:

npm run preview

Checkout the deployment documentation for more information.

Dockerfile

# Build the image
docker build --build-arg SSR_BASE_URL=http://host.docker.internal:8080/api --build-arg CLIENT_BASE_URL=/api -t produce-goose:frontend .

# Run the container
docker run -p 3000:3000 --name produce-goose-frontend produce-goose:frontend