1.7 KiB
StylePoint
Multi-functional internal tool for StyleTech
Setup
This project is using VS Code Dev Containers. To set up the development environment, follow these steps:
- Install Docker and VS Code.
- Install the Remote - Containers extension in VS Code.
- Clone this repository to your local machine.
- Open the repository in VS Code.
- When prompted, select "Reopen in Container" to build the development container.
- Once the container is built, you can start developing the project.
Project Structure
src/ -- Frontend source code
src-server/ -- Backend source code
Frontend
The frontend is built using Quasar and Vue 3. It uses Pinia for state management and Vue Router for routing. The frontend is located in the src/
directory.
Backend
The backend is built using Express. It uses Prisma for database access. The backend is located in the src-server/
directory
Running the Project
To run the project, simply run bun dev
. This will automatically start everything up for you, and vaildate all necessary dependencies are installed. You can then access the frontend at http://localhost:9100
, and the backend at http://localhost:9101
.
Registering a new user
The application requires a Registration Token to register a new user. This defaults to INITIAL_REGISTRATION_TOKEN_PLEASE_CHANGE_ME
. Use this to register an initial account, you can then change it via the Application Settings.