This is an e-commerce frontend app. It is built with React and Redux. It is a simple e-commerce app that allows users to view products, add them to cart, and checkout. It also allows sellers to add, edit, and delete products.
- React ⚛
- TypeScript 🦕
- Webpack 5 📦
Not yet live 🙂
To get a local copy up and running follow these simple steps.
- Node.js
- Package manager. We are using pnpm
If you are wondering why pnpm, take a look at why
-
Clone the repo 🌀
git clone https://github.com/atlp-rwanda/e-comm-team-axel25-fe
-
Install packages 📦.
pnpm install
-
Rename the
.env.example
file to.env
and fill in the required values -
Start your local development server 🌅
pnpm dev
- A react component test sample
./src
├── /__tests__
│ └── Toggle.spec.tsx
- To run tests
pnpm test
- To watch tests for changes and rerun
pnpm test:watch
To make contributions...
- Clone the repo
- Create your Feature Branch (
git checkout -b ft-some-feature
) - Commit your Changes (
git commit -m 'ft: add some feature'
) - Push to the Branch (
git push origin ft-some-feature
) - Open a Pull Request
Distributed under the MIT License.
- The Andela Team