alt-art / front-ecommerce

Front-end for a ecommerce

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

E-commerce

Simple e-commerce application using React, Context API and React Router.

You can run all the application in https://github.com/alt-art/ecommerce using the docker-compose.

Installation

Clone the repository and install the dependencies.

yarn install

Running

This application uses my e-commerce API, so you need to run it first.

git clone https://github.com/alt-art/back-ecommerce.git
cd back-ecommerce
docker build -t back-ecommerce .
docker run -p 8000:8000 back-ecommerce

Add to the .env file the API URL.

VITE_ECOMMERCE_API=http://localhost:8000

Now you can run the application.

yarn dev

About

Front-end for a ecommerce


Languages

Language:TypeScript 96.5%Language:HTML 1.5%Language:Dockerfile 1.1%Language:CSS 0.8%Language:Shell 0.1%