GithubHelp home page GithubHelp logo

venkatkadiveti / groups-service Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sunbird-lern/groups-service

0.0 0.0 0.0 5.73 MB

License: MIT License

Dockerfile 0.07% Shell 0.20% Java 99.73%

groups-service's Introduction

sunbird-groups

This is the repository for Sunbird user groups system micro-service. It provides the APIs for user groups functionality of Sunbird.

Developers

Please run scripts/setup.sh and setup git hooks to format your code while submission.

Pre-requisites

  1. Make a copy of setVars.sh.sample to list all the environment vars needed.
  2. Change all-actors/application.conf thisActorSystem to your own actor system name
  3. Use the same string in /all-actors/Application.java in the field actorSystemName
  4. Change the play secret key value in /play-service/application.conf - play.http.secret.key

Build

  1. Execute clean install mvn clean install

Run

  1. For debug mode,
    cd service
    mvn play2:dist
    mvn play2:run

  2. For run mode, cd service
    mvn play2:dist
    mvn play2:start

Verify running status

Hit the following Health check curl command

curl -X GET \ http://localhost:9000/health \ -H 'Postman-Token: 6a5e0eb0-910a-42d1-9077-c46f6f85397d' \ -H 'cache-control: no-cache'

And, a successful response must be like this:

{"id":"api.200ok","ver":"v1","ts":"2019-01-17 16:53:26:286+0530","params":{"resmsgid":null,"msgid":"8e27cbf5-e299-43b0-bca7-8347f7ejk5abcf","err":null,"status":"success","errmsg":null},"responseCode":"OK","result":{"response":{"response":"SUCCESS","errors":[]}}}

groups-service's People

Contributors

hari-stackroute avatar reshmi-nair avatar sknirmalkar89 avatar vrayulu 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.