GithubHelp home page GithubHelp logo

dhvogel / cryptorides-karl Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 9.42 MB

Cryptorides bike service. Named after Baron Karl von Drais, inventor of the bicycle.

JavaScript 67.76% CSS 0.40% HTML 31.48% Dockerfile 0.36%

cryptorides-karl's Introduction

Cryptorides

Cryptorides allows users to book rideshare services using cryptocurrency.

Usage

Requirements

This product uses the OAuth2 framework to authenticate against different services. In order for cb-karl to work, it needs to be passed secret client tokens to be used in OAuth2. Currently, there is no user-friendly way to do this. A solution is coming soon.

Source

Assuming npm v5.6.0 or greater.

$ git clone https://github.com/dhvogel/cryptorides-karl.git
$ cd cryptorides-karl
$ npm install
$ npm start

Visit http://localhost:3000 to see the application

Docker Image

Assuming docker v17.09.1-ce or greater.

$ docker run -e NODE_ENV=test -p 80:3000 dhvogel/cb-karl:latest

Visit http://localhost:80 to see the application

Testing

Unit Tests

Mocha/Chai/Sinon unit testing framework used.

$ npm run test-unit

Integration Tests

Supertest integration testing framework used.

$ npm run test-integration

Routes

GET /bikes

  • Returns list of all bikes in user's bike network

GET /bikes/:bikeId

  • Returns data for a specific bike

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.