No description
Find a file
2025-04-24 21:35:52 +01:00
.vscode Updates branding to StylePoint 2025-04-24 11:36:05 +01:00
prisma Adds in authentication system and overhauls the navigation bar to be built dynamically. 2025-04-24 21:35:52 +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 Adds in authentication system and overhauls the navigation bar to be built dynamically. 2025-04-24 21:35:52 +01:00
src-ssr Adds in authentication system and overhauls the navigation bar to be built dynamically. 2025-04-24 21:35:52 +01:00
.editorconfig Initial commit. 2025-04-23 15:55:28 +01:00
.env.example 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
.gitignore 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
.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
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 authentication system and overhauls the navigation bar to be built dynamically. 2025-04-24 21:35:52 +01:00
pnpm-lock.yaml Adds in authentication system and overhauls the navigation bar to be built dynamically. 2025-04-24 21:35:52 +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 Initial commit. 2025-04-23 15:55:28 +01:00
quasar.config.js Updates branding to StylePoint 2025-04-24 11:36:05 +01:00
README.md Update README.md 2025-04-24 12:39:27 +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 and the application server accessible at http://localhost:9100.

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

This command compiles and optimizes the application for deployment. The output files are usually placed in the dist directory.