Skip to content
View azurras's full-sized avatar
🎯
Focusing
🎯
Focusing

Organizations

@AppBuddy

Block or report azurras

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
azurras/README.md

christopherbell.dev

Personal website and application for Christopher Bell. The project combines a Spring Boot backend with a vanilla JavaScript frontend (Webpack + Web Components).

Modules

  • website – Spring Boot application and frontend. Contains all Node tooling.
  • cbell-lib – Reusable Java library shared across applications.

Requirements

  • Java 21 (JDK)
  • Node.js 18+
  • npm 9+
  • MongoDB

Setup

# Install frontend dependencies and build assets
cd website
npm install
npm run build

# From the repo root
./gradlew :website:build

Run locally

  1. Start MongoDB (default local profile expects mongodb://localhost:27019).
  2. Run the app:
./gradlew :website:bootRun

Notes:

  • The default Spring profile is local (see website/src/main/resources/application.yml).
  • application-local.yml sets the server port to 8081.
  • To override config, use environment variables such as SPRING_PROFILES_ACTIVE=local and SPRING_DATA_MONGODB_URI=....

Reporting

Post reports are stored in the database and visible in Back Office for admins.

Deploy to production

  1. Build static assets and the runnable JAR:
cd website
npm ci
npm run build
cd ..
./gradlew :website:build
  1. Configure production settings (MongoDB URI, ports, secrets) via environment variables:
  • SPRING_PROFILES_ACTIVE=prod
  • SPRING_DATA_MONGODB_URI=mongodb://<host>:<port>/<db>
  • SERVER_PORT=8080 (optional override)
  1. Run the JAR produced under website/build/libs/:
java -jar website/build/libs/<jar-name>.jar

Each module also has its own README with additional details.

Pinned Loading

  1. azurras azurras Public

    website of random things

    Java 1

  2. dotfiles dotfiles Public

    macOS startup and dotfiles

    Shell