Skip to content

Server-side implementation of my diploma project. Is built with Nest.js, featuring Keycloak authentication, real-time bidding via WebSocket, and data management with PostgreSQL and RabbitMQ

Notifications You must be signed in to change notification settings

Vekeryk/art-auction-server

Repository files navigation

Nest framework TypeScript starter repository.

Installation

$ yarn install

Running the app

# development
$ yarn run start
# watch mode auction
$ yarn run start:dev
# watch mode bids
$ yarn run start:dev bids
# production mode
$ yarn run start:prod

Running Keycloak

# run container
$ docker run -p 8080:8080 -e KEYCLOAK_ADMIN=admin -e KEYCLOAK_ADMIN_PASSWORD=admin quay.io/keycloak/keycloak:24.0.4 start-dev

Test

# unit tests
$ yarn run test
# e2e tests
$ yarn run test:e2e
# test coverage
$ yarn run test:cov

Setup env variables

DB_HOST=localhost
DB_PORT=5432
DB_USERNAME=postgres
DB_PASSWORD=postgres
DB_NAME=auction

KEYCLOAK_PUBLIC_KEY=

FOREST_ENV_SECRET=
FOREST_AUTH_SECRET=
DATABASE_URL=postgres://postgres:postgres@localhost:5432/auction

About

Server-side implementation of my diploma project. Is built with Nest.js, featuring Keycloak authentication, real-time bidding via WebSocket, and data management with PostgreSQL and RabbitMQ

Topics

Resources

Stars

Watchers

Forks

Languages