- Node.js (v18 or higher) and npm installed on your system.
-
Clone the repository:
git clone https://github.com/mtranggit/my-products-app.git cd my-products-app -
Install dependencies:
npm install
-
Start the development server:
npm run dev
-
Open your browser and navigate to
http://localhost:5173to view the app.
To build the app for production, run:
npm run buildThe production-ready files will be available in the dist directory.
To preview the production build locally, run:
npm run previewTo lint the codebase, run:
npm run lintTo run unit tests for the codebase, run:
npm run test