/Catalog

Primary LanguageTypeScript

Catalog Management Product

Welcome to Catalog Management Product! This web application helps you manage product catalogs efficiently. image

Features

  • Product Management: Add, edit, and delete products from your catalog.
  • Category Management: Organize products into categories for easy navigation.
  • User Authentication: Secure access with user authentication (Sign In & Sign Up).

Prerequisites

Before running this application, ensure you have the following installed:

  • Node.js (v14.x or later)
  • npm (v6.x or later)

Frontend

Follow these steps to get the application up and running on your local machine:

  1. Clone the repository:

    git clone https://github.com/alfyadinata/Catalog.git
  2. Navigate to the project directory:

    cd Catalog/vite-dot
  3. Install dependencies:

     npm install
  4. Create a .env file: Create a .env file in the root directory of your project with the based on .env.example

  5. Run the application:

     npm run dev

    This will start the development server. Open http://localhost:5173 in your browser to view the application.

Backend

Description

Nest framework TypeScript starter repository.

Navigate to the backend directory:

$ cd Catalog/catalog-be

Installation

$ npm install

Setup Configuration

Copy the .env.example file in the root directory of the project and create a new file named .env

Run database migrations

$ npm run db:migration:run

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod