This is the FrontEnd that serve the backend API for the e-commerce store with viewing the store, buying and other store functionalities.
You can clone this repo and start to add/change some features
- Languages
- TypeScript
- Frameworks
- ReactJS
- Package Manager
- npm
- Software
- NodeJs
- Text Editor or IDE
- Testing
- jest
- supertest
git clone https://github.com/atlp-rwanda/e-comm-team-emma25-fe.git e-comm-team-emma25-fe
cd e-comm-team-emma25-fe
npm install
run npm list
if you find UNMET or other package related errors re-install npm i
By either writing or running the tests you have to follow these rules:
- Writing tests for your own features
- Place your components under
src/components
directory - Place your test files under
src/tests
directory - File name must be written like this:
componentName.test.tsx
- Place your components under
- Running the tests
Run
npm run test
npm build
npm start
npm run dev
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:
- Create a branch
git checkout -b prefix-branch-name
prefix can be:- ft: feature
- bg-fx: bug fix
- After all your changes (includes documentation) push the source codes
- Open a pull request
- Tag at least 2 team members for review and make sure to add a label for the branch status.