Skip to content

Coin Exchange back-end code. Coin Exchange is a high performance exchange system specialized for Crypto currency trading with different general purpose uses such as independent deposit and withdrawal channels for Bitcoin and Litecoin, and also a standalone exchange for different asset classes.

License

zeus899/coin-exchange-backend

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coin Exchange Backend - README

Technologies required:

  1. Visual Studio 2012
  2. .NET Framework 4.5
  3. Databases:
  • MySql (preferably the latest version, e.g. 5.6),
  • RavenDB
  1. IIS

Code Base

  1. Download and install Git.
  2. Right the folder which you want to be the home for the codebase, and choose Git Bash.
  3. Paste git clone git@bitbucket.org:abaziz/coin-exchange-backend.git
  4. Give the password when prompted.

Install IIS

Project Structure

  • Working code directory is coin-exchange-backend\src.

Setting up RavenDB

  1. Download the RavenDB from here: http://hibernatingrhinos.com/downloads/RavenDB%20Installer/2879
  2. Run the Setup installation.
  3. While installing the RavenDB, please select "Development" in Tragetting environment.
  4. Install the RavenDB as a service and chose enter port 8081.
  5. After the installtion completes, open "http://localhost:8081/raven/studio.html" link in the browser. (install silver light if prompted) you might have to use IE for opening the ravendb studio
  6. In the main screen,click on "New Database", type "InputEventStore" in Name Field and click next.
  7. In the main screen,click on "New Database", type "OutputEventStore" in Name Field and click next. This all was needed to configure RavenDB. If the link "http://localhost:8081/raven/studio.html" make sure that RavenDB service is running.

MySql

  1. Download latest version of MySql community server.
  2. Run .exe or .msi file and follow the instructions.
  3. Select Developer default.
  4. There should be no password for root user.
  5. Execute the "create" and "populate" scripts in the src\data\MySql folder.

open command line go to location where MySQL is installed e.g. C:\Program Files\MySQL\MySQL Server 5.7\bin then run this command: mysql -u root -h localhost -p give password when prompted then run this command to create the database (plz change path): SOURCE C:\Users\rasheed-pc\Source\Repos\coin-exchange-backend\src\Data\MySql\create.sql then populate the database SOURCE C:\Users\rasheed-pc\Source\Repos\coin-exchange-backend\src\Data\MySql\populate.sql

Database Setup

  1. Create a new database named coinexchange.
  2. MySql Settings:
  3. username = root,
  4. host = localhost,
  5. port = 3306.

MySQL Connector for .NET:

Download and install the MySQL connector for .NET from here: http://dev.mysql.com/downloads/connector/net/

About

Coin Exchange back-end code. Coin Exchange is a high performance exchange system specialized for Crypto currency trading with different general purpose uses such as independent deposit and withdrawal channels for Bitcoin and Litecoin, and also a standalone exchange for different asset classes.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 95.3%
  • PowerShell 2.9%
  • Pascal 1.7%
  • HTML 0.1%
  • Puppet 0.0%
  • Classic ASP 0.0%