Skip to content

You can test the application deployed on Rinkeby Test Network here https://airlines-dapp.vercel.app/ , remember to connect with Metamask on Rinkeby Test Network

Notifications You must be signed in to change notification settings

e-burgos/airlines-dapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Airline - An Ethereum learning DAPP

Install dependencies

In the root folder of the project, run the following command

npm i

Then move to the truffle folder and repeat this process

cd src
cd truffle
npm i

Build the contract

Run Ganache on http://localhost:7545 and write in the truffle folder the following command to build the contracts

npx truffle migrate

Run the project

In the root folder, type the following command

npm run start

Don't forget to import at least two accounts to metamask to test the dapp. Good luck!

Deploy the contract in Rinkeby Test Network

  1. Register or login to infura.io and create a new project, then get the rinkeby url like this > https://ropsten.infura.io/v3/YOUR-PROJECT-ID
  2. Sign up or log in to Metamask Chrome extension and get your mnemonic.
  3. Configure these values in the truffle-config.js file.
  4. On your console, go to the truffle folder and run the following command:
npx truffle deploy --network rinkeby
  1. Finally, deploy your reactjs app to vercel eg.

About

You can test the application deployed on Rinkeby Test Network here https://airlines-dapp.vercel.app/ , remember to connect with Metamask on Rinkeby Test Network

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published