This project is created with templating from @Vue official release.
Below functionalities are enabled
- Vue
- Typescript
- Pinia
- Vitest
The application requires a mock-api to get going with dummy data downloaded from the API.
Download and install the desktop mock API program Mockoon from https://mockoon.com/download/
The data file data.json is exported from a running mockoon environment. So there is no need to configure the application to get started.
Run below commands to run the application.
npm install
npm run dev
If you see CORS error while accessing the page, please follow the documentation to disable it in dev env and allow
Access-Control-Allow-Origin: *
in the Headers in Mockoon settings
npm run test:unit
Run the following command to build the docker image
docker build -t fashion-retail .
docker run -d -p 8080:80 fashion-retail
Now we will be able to access the app on http://localhost:80