Skip to content

dipayandas24/DRepo_TDoC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DRepo

DRepo is a decentralized web-based code storage platform made with Ethereum Blockchain.

Home Page Ui

Home Page Ui

Installation

  1. Clone the repository:

    git clone https://github.com/dipayandas24/DRepo_TDoC.git
    cd DRepo_TDoC
  2. Install dependencies:

    • Navigate to the frontend folder:
    cd frontend
    npm install
    • Return to the root directory and install Truffle dependencies:
    npm install -g truffle
  3. Compile smart contracts:

    truffle compile
  4. Migrate smart contracts to the local blockchain or testnet:

    truffle migrate

Running the Application

  1. Start the local Ethereum blockchain (if using Ganache):
ganache-cli
  1. Run the frontend:
cd frontend
npm start
  1. Open the application in your browser at http://localhost:3000.

Smart Contract Testing

To run tests for the smart contracts, use the following command:

truffle test

About

DRepo is a decentralized web-based code storage platform made with Ethereum Blockchain.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors