Mockup repository for the data marketplace
This repository is a mockup for a data marketplace platform called CaptureMart. The platform allows users to browse and access high-quality AI-ready content from trusted providers. The purpose of this repository is to provide a demonstration of the platform's functionality and structure.
To set up the project and its dependencies, follow these steps:
-
Clone the repository:
git clone https://github.com/tammyyang/data-mart-mockup.git cd data-mart-mockup
-
Install the dependencies:
npm install
-
Start the development server:
npm start
To run the project and its scripts, follow these steps:
-
Ensure that you have completed the setup instructions above.
-
Open your web browser and navigate to
http://localhost:3000
to view the project.
The repository is structured as follows:
data-mart-mockup/
├── collections.json # JSON file containing the dataset collections
├── index.html # Main HTML file for the project
├── LICENSE # License file for the project
├── modules/ # Directory containing JavaScript modules
│ ├── createDatasetCard.js # Module for creating dataset cards
│ ├── fetchData.js # Module for fetching data
│ ├── getLocalImagePath.js # Module for getting local image paths
│ ├── renderDatasets.js # Module for rendering datasets
│ ├── renderStars.js # Module for rendering star ratings
│ └── setupSearch.js # Module for setting up search functionality
├── README.md # This README file
└── styles.css # CSS file for styling the project
We welcome contributions to the project! If you would like to contribute, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bugfix:
git checkout -b my-feature-branch
- Make your changes and commit them with a descriptive commit message.
- Push your changes to your forked repository:
git push origin my-feature-branch
- Open a pull request on the main repository.
This project is licensed under the Apache License 2.0. See the LICENSE file for more details.
To update the mockup data in collections.json
, follow these steps:
- Open the
collections.json
file in a text editor. - Modify the existing dataset entries or add new ones as needed. Each dataset entry should follow the same structure as the existing ones.
- Save the changes to the
collections.json
file. - Refresh the project in your web browser to see the updated data.