"Shop with ease and confidence - Your ultimate online shopping destination!"
This Techsmiths' project is dealing with the frontend of an ecommerce project which has three types of users; a buyer, a seller and an admin. The app has a login functionality, products,a cart for buyer,notifications,a public chat, orders, sales; it has a dashboard according to what role the user has. An admin can manage all users ; changing roles and making a user as active or inactive. A seller should see all products that belong to him/her and can make a product as either available or not available A buyer should be able to see all available products on the homepage add items to their cart, wish for a product, and track his/her orders.
Make sure the node version you are running is v-18.x
and above.
Make sure you have the following dependencies installed:
"react": "^18.2.0", "react-dom": "^18.2.0", "sass": "^1.62.1"
Follow these steps to set up the Techsmith Frontend codebase locally:
- Clone the repository:
git clone https://github.com/atlp-rwanda/e-comm-team-techsmith-fn.git
-
Go to folder and install dependencies:
cd e-comm-team-techsmith-fn
-
Install dependencies:
npm install
To run the Techsmith Frontend service locally, follow these steps:
-
Start the development server:
npm run start
-
Open your browser and visit
http://localhost:5173/
to see the application running.
The repository have been linked with the project's pivot tracker for:
Monitoring task completion Status of the task accepted by pivotal tracker are in a :unstarted , started, finished, delivered, rejected, accepted. Commit message should start with the status of the task i.e:
- git commit -m "[ delivers #storyId ] add more content"
- git commit -m "[ finishes #storyId ] add more content"
The status is automatically updated on the pivotalTracker The PR being merged, closed or not merged is marked on the pivotalTracker.
To ensure that the code is set up correctly, follow these steps to run the tests:
- Run the test suite:
npm test
- Verify that all tests pass successfully.
- Unit testing on this app is setup using the following dependencies "jest": "^29.5.0",
To update the Techsmith Frontend codebase, follow these steps:
- Push your changes to the
develop
branch of the repository. - The deployment process will be triggered automatically, updating the deployed application.
- You can find the deployed application by visiting
https://e-comm-team-techsmith-fn.vercel.app/
For any inquiries or feedback, please reach out to our team at https://atlp-workspace.slack.com/archives/C04K7P2AA5D
.
One of the schema to view products on the landing page from Techsmith App
- From this app , the user on anding page should be abe to view products in the same category
- Once no category specified, a user can view the products from different categories randomly on landing page
- User should be able to view the most wanted products or recommended products
For any inquiries or feedback, please reach out to our team at https://atlp-workspace.slack.com/archives/C04K7P2AA5D
.