No description
Find a file
2025-04-26 22:43:53 +01:00
.vscode Authentication flow change - Remove requirement for user to enter username - Use Passkey discoverability instead. 2025-04-26 10:55:37 +01:00
prisma Add filters. 2025-04-26 11:26:38 +01:00
public Adds in authentication system and overhauls the navigation bar to be built dynamically. 2025-04-24 21:35:52 +01:00
src Add filters. 2025-04-26 11:26:38 +01:00
src-server Wrap downloader in a catch 2025-04-26 12:07:42 +01:00
.editorconfig Initial commit. 2025-04-23 15:55:28 +01:00
.env.example Fix error when Mantis key isn't set. 2025-04-26 12:02:17 +01:00
.gitattributes Add in gitattributes to force LF (not CRLF) endings 2025-04-26 22:43:53 +01:00
.gitignore Adds in Mantis features. Enabling automated downloading of Mantises into the internal database, browsing of them, and viewing of attachments (including .msg files). 2025-04-26 10:54:04 +01:00
.npmrc Initial commit. 2025-04-23 15:55:28 +01:00
docker-compose-example.yml Add mantis summaries and start of email summaries... Need to figure out a way to get the emails since MS block IMAP :( 2025-04-23 21:12:08 +01:00
eslint.config.js Force line endings and whitespace, and revamp logout via introduction of a new profile component. 2025-04-25 13:56:12 +01:00
index.html Initial commit. 2025-04-23 15:55:28 +01:00
jsconfig.json Initial commit. 2025-04-23 15:55:28 +01:00
package.json Adds in dashboard page showing basic Mantis statistics 2025-04-26 10:55:37 +01:00
pnpm-lock.yaml Adds in dashboard page showing basic Mantis statistics 2025-04-26 10:55:37 +01:00
pnpm-workspace.yaml Adds in authentication system and overhauls the navigation bar to be built dynamically. 2025-04-24 21:35:52 +01:00
postcss.config.js Added linting and enforced code styling. 2025-04-25 08:14:48 +01:00
quasar.config.js Mantis summary updates. 2025-04-26 10:55:37 +01:00
README.md Moved away from SSR to regular Node API server. 2025-04-25 12:50:44 +01:00

StylePoint

Multi-functional internal tool for StyleTech

Setup

Prerequisites

  1. Docker:
    • Windows/Mac: Install Docker Desktop (this is available free, ignore the "Choose Plan" button, and scroll down to the download button).
    • Linux: Install Docker Engine.
  2. Node.js: Install Node.js version 22. You can download it from the official Node.js website or use a version manager like volta
  3. pnpm: Install pnpm globally using npm (which comes with Node.js):
    npm install -g pnpm
    
  4. quasar cli: Install the quasar CLI globally using npm:
    npm install -g @quasar/cli
    

Installation

Clone the repository and install the project dependencies using pnpm:

git clone <repository-url>
cd <repository-directory>
pnpm install

Setting up Environment Variables & Compose File

Copy the example .env.example file to .env and update the values (primarily passwords or access tokens) as required.

Copy the example docker-compose.example.yml file to docker-compose.yml and update the password as required (matching that set in the .env file).

Running the Development Server

To start the development server, run:

docker compose up -d
pnpm run dev

This will start the PostgreSQL server on localhost:5432 the API server on localhost:8000 (shouldn't need to directly work with this) and the application server accessible at http://localhost:9000.

I recommend using Postico for Mac or pgAdmin for Windows to manage the PostgreSQL database.

Building for Production

To create a production build of the application, run:

pnpm run build