Coder Social home page Coder Social logo

vshyave / program-service Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sunbird-cokreat/program-service

0.0 0.0 0.0 3.98 MB

Micro-service to create and manage programs, like a contribution program, etc.

License: MIT License

Shell 0.04% JavaScript 99.93% Dockerfile 0.03%

program-service's Introduction

Sunbird Program Service

Prerequisites: Postgres, Node v12+

Run Locally

Clone the project

    https://github.com/Sunbird-Ed/program-service.git

Go to the project directory

    cd program-service

Install Git Submodules to make use of https://github.com/project-sunbird/sunbird-js-utils.git

    git submodule init
    git submodule update

Install dependencies

    cd src/
    npm install

Set the env variable in <project-folder>/src/envVariables.js

    baseURL: process.env.dock_base_url || 'http://dock.sunbirded.org',
    SUNBIRD_URL: process.env.sunbird_base_url || 'https://dev.sunbirded.org',
    SUNBIRD_PORTAL_API_AUTH_TOKEN: process.env.sunbird_api_auth_token

Start the server

    node app.js

the node app will run on http://localhost:6000

Note: To create Postgres table in the local db use the <project-folder>/programs.sql

program-service's People

Contributors

ahghatol avatar arun-nd avatar bharatkashyap avatar chakshugautam avatar dhirenaade avatar g33tha avatar pallakartheekreddy avatar rajnishdargan avatar santoshilimi avatar shalinichandru12 avatar shashipppp avatar sknirmalkar89 avatar snehar-nd avatar vaibhavbhuva avatar vaivk369 avatar venkateshwarans 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.