Skip to content

A web-based bitcoin transaction system to help traders swiftly buy and sell bitcoin.

License

Notifications You must be signed in to change notification settings

KumailB/bts-web-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 

Repository files navigation

bts-web-app

A web-based bitcoin transaction system to help traders swiftly buy and sell bitcoin.

Quick Start

Pre-requisties

  • node.js
  • npm
  • ts-node

You can install ts-node using the following command: npm i -g ts-node

Setting up the server

In-order to run the server locally, you will have to create a file .env in server subfolder. After creating the file, add the following fields with your MySQL username and password as well as hostname and port:

  • SERVER_HOST='localhost'
  • SERVER_PORT='3001'
  • MYSQL_HOST='localhost'
  • MYSQL_PORT='3306'
  • MYSQL_USERNAME=''
  • MYSQL_PASSWORD=''
  • MYSQL_DB='bts'
  • API_KEY = 'eShVmYq3t6w9yB&E)H@McQfTjWnZr4u7x!A%C*F-JaNdRgUkXp2s5v8y/B?E(G+'

If the server and/or MySQL are being hosted remotely, fill out HOST and PORT fields appropriately

Running the server

  • cd server
  • npm install
  • npm run dev

Setting up the client

In-order to run the app locally, you will have to create a file .env in client subfolder. After creating the file, add the following hostname and port fields:

  • CLIENT_HOST='localhost'
  • CLIENT_PORT='3000'
  • NEXT_PUBLIC_SERVER_HOST='localhost'
  • NEXT_PUBLIC_SERVER_PORT='3001'
  • NEXT_APPLICATION_SECRET = 'nZr4u7x!A%D*G-KaPdSgVkYp3s6v8y/B?E(H+MbQeThWmZq4t7w!z$C&F)J@'
  • NEXT_GRAPHQL_API_KEY = 'eShVmYq3t6w9yB&E)H@McQfTjWnZr4u7x!A%C*F-JaNdRgUkXp2s5v8y/B?E(G+'

If the client and/or server are being hosted remotely, fill out HOST and PORT fields appropriately

Running the client

  • cd client
  • npm install
  • npm run dev

Note: Make sure to disable caching in your browser to see updates quickly.

Contributors

  • Kumail Bukhari - sxb180119
  • Autumn Pin - abp170003
  • Haris Gusic - hxg170006
  • Jonathan Harvey - jeh180000
  • Siddharth Sarangi - sxs200077

About

A web-based bitcoin transaction system to help traders swiftly buy and sell bitcoin.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages