Skip to content

Heisjabo/eagles-ec-fe

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EAGLE E-commerce

Static Badge

The front-end of Eagle E-commerce utilizes React for a modern, user-friendly interface, while Node.js powers its backend, ensuring a seamless shopping experience

Maintainability Github Actions Coverage Status

Tech Stack

This project was built using the PERN (PostgreSQL, Express.js, React.js, Node.js) stack, additionally with Vite and Typescript.

How to run the app

To run the app locally, follow these steps:

  1. Clone the repository:
   git clone https://github.com/atlp-rwanda/eagles-ec-fe.git
  1. Change working dir to cloned repo:
cd eagle-ec-fe
  1. Install dependencies:
npm install
  1. Run developmnt server:
   npm run dev

How to run test

  1. Run unit test:
   npm run test
  1. **Tun test in watch mode
  npm run test:watch
  1. **Generate test coverage
   npm run test:coverage

Write your test by creating a file with .test.tsx extetion under test directory.

Running it with Docker Image

1. Pull Docker Image:

docker pull mugemanebertin/eagle-ec-fe:latest

This command downloads the Docker image mugemanebertin/eagle-ec-fe from Docker Hub.

2. Run Docker Container:

docker run -d --name eagle-ec-fe-container -p 5173:5173 mugemanebertin/eagle-ec-fe:latest

This command starts a Docker container named eagle-ec-fe-container, mapping port 5173 on your host to port 5173 in the container. The -d flag runs the container in detached mode.

You can now access the Eagle E-commerce application by navigating to http://localhost:5173 in your web browser.

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 98.5%
  • Other 1.5%