/makhno

makhno - A Simple Auction App based on Ethereum

Primary LanguageJavaScript

makhno - A Simple Auction App based on Ethereum

This is the server implementation of an app that allows users to participate in a fixed bid auction via any browser with the Metamask plug in.

The client implementation is available at https://github.com/mypttwo/mulkila.

Disclaimers :
While this allows users to participate in the auction, this does not restrict anonymous users from directly interacting with the smart contract on Ethereum.

Setting up the environment

The code includes a .env file. You will need to set the appropriate variables to run the app.

  • Specify the url for your mongodb instance. (Either you can download and run mongo locally or you can use a service (mlab, Atlas)
    DB=mongodb://localhost:27017/gya
  • Specify the port on which your server will run
    PORT=3000

Running the app

You run the server like so
> npm start

Acknowledgements

Written with StackEdit.