Skip to content

big-data-lab-team/data-marketplace

Repository files navigation

Data Market

    Requirements
     Root or Admin access
     Node JS installed
    

    Clone this repository:

    git clone https://github.com/wassimsabra/data-marketplace.git
    cd data-marketplace
    The cloned repo contain the database sql script you will need it in the next step
    

    Database Seed:

      Login to your mysql server and make sure your terminal shows mysql>
      Run this query: source $PATH\datacoin.sql
      $PATH = path of the sql script where the this repo was cloned on your local machine
    

    Database Configuration:

      Database configuration are present in /controllers/mysql.js 
      You can modify it if you want to change the username, password, or database name, 
      according to your MySQL server configuration.
    

    Now you should have the source code and the database setup on your machine

    In the cloned repo on your local machine run:

      npm install (To install all the required dependencies)
      node app.js (To run the actual app)
    

    The app should be now running on your local host and ready to receive API calls

      All API calls are defined here: https://app.swaggerhub.com/apis/wassimsabra/DATACOIN/1.0.0
    

    Move /datamarket folder from the directory /www/datamarket/ to your public web server directory

        (ex. /var/www/html/ in Ubuntu)
    

About

Services to implement a data marketplace

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published