![](https://github.com/hashtune/Hashtune-Marketplace-Client/raw/main/github/assets/images/cover.png)
# Hashtune-Marketplace-Client
Architecture ๐
The architecture consists of 3 repositories:
- Client Application
- Server
- Smart Contract (currently deployed to Binance Test Network)
![](https://github.com/hashtune/Hashtune-Marketplace-Client/raw/main/github/assets/images/architecture.png)
Each repository has it's own steps for set up, development and testing.
Setup ๐
Development ๐
- Run
yarn dev
to start the Client
- Run the Setup for the Server and start it on localhost:5000
- Visit localhost:3000 to view the running Application
Testing ๐งช
The client uses the Jest and Cypress testing Frameworks.
Repository structure ๐
- The applicationโs architecture is monolithic
- The individual pages resides in the /pages folder
- Various reusable React components reside in the /components folder
- The GraphQL Code Generator can be found in the /graphql directory
- The styles folder contains the 7-1 SCSS architecture
Client Application Architecture/Components ๐งฑ
- Next.Js + React.Js: Our frontend Client uses React and the React framework Next.Js for routing, state management etc.
- Apollo Client: Used to fetch data from Server API.
- GraphQL CodeGen: Used to automatically generate typed from GraphQL queries
- SCSS Modules: For component level styles
- 7-1 SCSS Architecture: For global styles and utility classes.