GithubHelp home page GithubHelp logo

kumailb / bts-web-app Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 630 KB

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

Home Page: bts-web-app.vercel.app

License: MIT License

TypeScript 97.78% Shell 0.46% JavaScript 0.72% CSS 1.04%

bts-web-app's Introduction

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

bts-web-app's People

Contributors

kumailb avatar pin-a avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.