This project implements CRUD actions using test Truck API
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Node.js
- npm
- Clone the repository
git clone https://github.com/drengr/test-truck-crud.git
- Navigate into the project directory
cd test-truck-crud
- Install the dependencies
npm install
-
Create .env file and define
VITE_API_URL
variable. Use mock API URL for that. -
Start the development server
npm run dev
-
Open your web-browser and go to
http://localhost:5173
-
To run tests run the following command
npm run test:unit