Skip to content

Latest commit

 

History

History
56 lines (40 loc) · 1.36 KB

README.md

File metadata and controls

56 lines (40 loc) · 1.36 KB

Client-side Application

This is a Next.js project bootstrapped with create-next-app.

Project Setup

Environment Variables

  • NEXT_PUBLIC_API_ENDPOINT
  • NEXT_PUBLIC_DOMAIN

For example, you can see .env.example

Installing Depedencies

npm install

Compiles and hot-reloads for development

npm run dev

Compiles and minifies for production

npm run build

Dockerize The Application (Development)

  1. Build docker image
    docker build \
    --build-arg API_ENDPOINT="http://localhost:5000/api/v1/go" \
    --build-arg DOMAIN="http://localhost:5000" \
    -t url-client:1.0 .
  2. Run docker image
    docker run -d --name url-client \
    -p 3000:3000 \
    url-client:1.0

Useful Links

To learn more about this project, take a look at the following resources: