Skip to content

DIY Store is a web application built for do-it-yourself enthusiasts.

Notifications You must be signed in to change notification settings

joaopaulosf/diy-store

Repository files navigation

DIY Store

Overview

DIY Store is a web application built for do-it-yourself enthusiasts. It aims to provide a platform where users can find and purchase various DIY products, tools, and materials. The project is developed using TypeScript, Vite, and Jest to ensure a robust and efficient development experience.

Table of Contents

Getting Started

Prerequisites

Make sure you have the following tools installed on your system:

Node.js (v14 or later) NPM (Node Package Manager)

Installation

  1. Clone this repository to your local machine:
git clone https://github.com/joaopaulosf/diy-store.git
  1. Change your current directory to the project folder:
cd diy-store
  1. Install the project dependencies using npm:
npm install

Running the Development Server

To run the development server and start working on the DIY Store project, use the following command:

npm run dev

This will launch the Vite development server, and you can access the application in your browser at http://localhost:5173

Testing

The project is equipped with unit tests to ensure its reliability and maintainability. To run the tests, use the following command:

npm run test

If you want to collect code coverage during testing, you can use:

npm run test:cov

The coverage report will be generated in the project's directory for further analysis.

Building the Project

To build the DIY Store application for production, use the following command:

npm run build

This command will transpile TypeScript code using TypeScript compiler (tsc) and bundle the application using Vite. The production-ready files will be available in the dist folder.

Linting

We have set up ESLint to maintain a consistent code style and identify potential issues in the codebase. To run ESLint and check for linting errors, use the following command:

npm run lint

This command will display linting warnings and errors in the terminal.

Preview

To preview the production build locally before deployment, use the following command:

npm run preview

This command will serve the production build locally, and you can access it in your browser at http://localhost:5143

Used tools

This project uses the following tools:

About

DIY Store is a web application built for do-it-yourself enthusiasts.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages