Skip to content

Latest commit

 

History

History
88 lines (62 loc) · 975 Bytes

README.md

File metadata and controls

88 lines (62 loc) · 975 Bytes

Entra Demo Frontend & Backend

Setup locally

# npm
npm install

# pnpm
pnpm install

# yarn
yarn install

# bun         <---
bun install # <---

Development Server

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

# npm
npm run dev

# pnpm
pnpm run dev

# yarn
yarn dev

# bun
bun dev # <---

Production

Build the application for production:

# npm
npm run build

# pnpm
pnpm run build

# yarn
yarn build

# bun
bun run build # <---

Locally preview production build:

# npm
npm run preview

# pnpm
pnpm run preview

# yarn
yarn preview

# bun
bun run preview

Docker

Frontend

docker build --progress=plain -f Dockerfile -t waltid/entra-demo-webapp-fronte
nd  .

Backend

cd backend
docker build --progress plain -f Dockerfile -t waltid/entra-demo-webap
p-backend .
docker run -p 7777:7777 -v ./demo.conf:/backend/demo.conf waltid/entra-demo-webapp-backend