To run the client you need the following installed:
- Vue
- Node
- Clone the repository
git clone git@github.com:vildemvikan/shopit_frontend.git
If you don't have SSH keys use:
git clone https://github.com/vildemvikan/shopit_frontend.git
- Navigate to project root folder
cd shopit_frontend
- Download dependencies:
npm i
2: Run the client (NOTE: make sure Docker is running)
npm run dev
The application is now running on localhost on port 5173.
NOTE: if you don't have make installed, use the following command instead:
To exit the application, use CTRL + C.
The application is packaged with three pre-configured users. You can log in with the following credentials:
User 1
- Email:
test@fant.org - Password:
password
User 2
- Username:
JohnDoe@mail.com - Password:
password
User 3
- Username:
alicesmith@mail.com - Password:
password
To run unit tests:
npm run test:unit
To run unit tests with coverage:
npm run coverage
To run end-to-end tests:
NOTE: The server must always be running during e2e tests!
npm run test:e2e:dev
ShopIT was developed by a team of three students:
- Tini Tran
- Vilde Min Vikan
- Harry Xu