Here you'll find all the documentation related to the fullStrathMall project.
StrathMall is a marketplace for all university and local sellers. This wiki provides detailed information about the project, including how to get started, project structure, API documentation, and guidelines for contributing.
Welcome to the StrathMall project! This guide will help you set up your development environment and get the project running locally.
- Node.js
- npm or yarn
- A GitHub account
- Clone the repository:
git clone https://github.com/yourusername/strathmall.git cd strathmall
2.Install Dependancies
npm install
3.Run the project on your local server
npm run dev
4.Open the live project
localhost:3000
The StrathMall project is organized as follows:
src/
: Contains the source code for the project.components/
: Reusable UI components.pages/
: Next.js pages.styles/
: CSS and styling files.lib/
: Utility functions and libraries.hooks/
: Custom React hooks.
public/
: Static assets such as images and fonts.README.md
: Project overview and setup instructions.package.json
: Project dependencies and scripts.
For more information on each section, please refer to the relevant documentation pages.
This page provides detailed information about the APIs used in the StrathMall project.
Fetches a list of products.
Parameters:
category
: (optional) Filter products by category.limit
: (optional) Limit the number of products returned.
Response:
{
"data": [
{
"id": "1",
"name": "Product 1",
"price": "10.00",
"sellerId":"userId",
"userId" : "userId",
},
]
}
Thank you for considering contributing to StrathMall! We welcome contributions from the community. Please follow these guidelines to make the process smooth and efficient.
- Fork the repository.
- Create a new branch:
git checkout -b feature/your-feature-name
Worn out🥵
//TO DO 😫 :Continue the documentation **APIs** some other time ❗