Giter VIP home page Giter VIP logo

user's Introduction

#User Service Build Status Coverage Status Go Report Card

This service covers user account storage, to include cards and addresses

Bugs, Feature Requests and Contributing

We'd love to see community contributions. We like to keep it simple and use Github issues to track bugs and feature requests and pull requests to manage contributions.

API Spec

Checkout the API Spec here

Build

Using Go natively

make build

Using Docker Compose

docker-compose build

Test

make test

Run

Natively

docker-compose up -d user-db
./bin/user -port=8080 -database=mongodb -mongo-host=localhost:27017

Using Docker Compose

docker-compose up

Check

curl http://localhost:8080/health

Use

Test user account passwords can be found in the comments in users-db-test/scripts/customer-insert.js

Customers

curl http://localhost:8080/customers

Cards

curl http://localhost:8080/cards

Addresses

curl http://localhost:8080/addresses

Login

curl http://localhost:8080/login

Register

curl http://localhost:8080/register

Push

make dockertravisbuild

Test Zipkin

To test with Zipkin

make
docker-compose -f docker-compose-zipkin.yml build
docker-compose -f docker-compose-zipkin.yml up

It takes about 10 seconds to seed data

you should see it at: http://localhost:9411/

be sure to hit the "Find Traces" button. You may need to reload the page.

when done you can run:

docker-compose -f docker-compose-zipkin.yml down

user's People

Contributors

jasonrichardsmith avatar vlal avatar philwinder avatar nustiueudinastea avatar pidster avatar ottovsky avatar frankscholten avatar stefanprodan avatar jpellizzari avatar etiennetremel avatar idcrosby avatar shiresky 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.