Skip to content

TresorRw/e-comm-team-emma25-fe

 
 

Repository files navigation

GitHub Workflow Status Coverage Status

This is FrontEnd for E-Commerce

Description

This is the FrontEnd that serve the backend API for the e-commerce store with viewing the store, buying and other store functionalities.

Setup

You can clone this repo and start to add/change some features

Technologies used

  • Languages
    • TypeScript
  • Frameworks
    • ReactJS
  • Package Manager
    • npm
  • Software
    • NodeJs
    • Text Editor or IDE
  • Testing
    • jest
    • supertest

Getting Started

Cloning and move into the cloned repo

git clone https://github.com/atlp-rwanda/e-comm-team-emma25-fe.git e-comm-team-emma25-fe
cd e-comm-team-emma25-fe

Installing the packages

npm install

Check installation errors

run npm list if you find UNMET or other package related errors re-install npm i

Testing

By either writing or running the tests you have to follow these rules:

  • Writing tests for your own features
    1. Place your components under src/components directory
    2. Place your test files under src/tests directory
    3. File name must be written like this: componentName.test.tsx
  • Running the tests Run
    npm run test 

Running Webpack

npm build

Running server

npm start

or

npm run dev

Contributing

Feel free to create/add a feature or report a bug. You can pull a request here 👉Create a pull request.
Report a bug here 👉Submit issue

Read Engineering Playbook You can follow these steps in order to contribute on this project:

  1. Create a branch git checkout -b prefix-branch-name prefix can be:
    1. ft: feature
    2. bg-fx: bug fix
  2. After all your changes (includes documentation) push the source codes
  3. Open a pull request
  4. Tag at least 2 team members for review and make sure to add a label for the branch status.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 95.6%
  • CSS 2.0%
  • SCSS 1.1%
  • JavaScript 1.1%
  • Other 0.2%