The frontend part of the ThreadStocks application, built with Vue 3, Vite, and Tailwind CSS. This application interacts with the threadStocks API to help users manage their stock of embroidery threads for cross-stitch projects.
- Framework: Vue 3 (Composition API)
- Build Tool: Vite
- Styling: Tailwind CSS
- State Management: Pinia with persistedstate
- Routing: Vue Router
- Language: TypeScript
- Internationalization: Vue I18n
-
Clone the repository:
git clone https://github.com/Kae-Tempest/threadStocks.git cd threadStocks/web -
Install dependencies:
npm install
-
Configure environment: Create a
.envfile in thewebdirectory and set the API URL:VITE_API_URL=http://localhost:8080
Run the development server:
npm run devThe application will be available at http://localhost:5173.
To build the project for production:
npm run buildsrc/view: Page components (Home, App, Login, Register, Features, Contact, ResetPassword).src/components: Reusable UI components.src/stores: Pinia state management.src/composable: Reusable logic (composables).src/interfaces: TypeScript interfaces.src/enums: TypeScript enums.src/i18n.ts: Internationalization configuration.src/router.ts: Application routing configuration.src/main.ts: Application entry point.
This frontend is designed to work with the threadStocks API. Ensure the backend server is running for full functionality.
This project is licensed under the MIT License.