ECommerce POS

This is a Nuxt.js application built with Pinia for state management, Axios for HTTP requests, and Tailwind CSS for styling.

Running the Application Locally

To run this application locally, follow these steps:

Prerequisites

  • Node.js installed on your machine (version 14.x or higher)
  • npm or yarn package manager

Installation

  1. Clone this repository to your local machine
git clone https://github.com/Danztee/ecommerce-pos.git
  1. Navigate into the project directory:

  2. Install dependencies using npm or yarn:

npm install
or
yarn install

Running the Application

Once the dependencies are installed, you can run the application in development mode with the following command:

npm run dev
or
yarn dev

This will start the development server and you should be able to access the application at http://localhost:3000 in your web browser.

Building the Application

To build the application for production, you can use the following command:

npm run build
or
yarn build

This will generate a production-ready build of your application in the dist directory.

Generating Static Files

If you want to generate static files for hosting your application, you can use the following command:

npm run generate
or
yarn generate

This will create a dist directory containing all the static files that can be deployed to any static hosting service.

Dependencies

Development Dependencies