Giter VIP home page Giter VIP logo

smsc's Introduction

Heroku Build Status Apache 2.0 License Coverage Status

smsc.io

SMSC Open Source Solution with Monitoring, Billing, SMPP, SS7 and REST API support.

Start admin module

Installation

  • cd modules/admin
  • npm install

Serve

  • npm start

go to http://0.0.0.0:3000 or http://localhost:3000 in your browser

Admin module credentials

Username: admin
Password: admin
URL: /admin

Start core module

Start Spring boot application

  • cd modules/core
  • mvn spring-boot:run

Receive access and refresh tokens

POST request on http://localhost:8080/rest/auth/token with valid credentials

Admin credentials

Username: admin
Password: admin

User credentials

Username: user
Password: password

Docker images launching

  • PostgreSQL
    $ docker run -d -p 5432:5432 -e POSTGRESQL_USER=test -e POSTGRESQL_PASS=oe9jaacZLbR9pN -e POSTGRESQL_DB=smsc orchardup/postgresql
  • MySQL
    $ docker run -p 3306:3306 -e MYSQL_ROOT_PASSWORD=password -e MYSQL_DATABASE=smsc -e MYSQL_USER=user -e MYSQL_PASSWORD=password -d mysql:latest
  • Oracle
    $ docker run -d --shm-size=2g -p 1521:1521 alexeiled/docker-oracle-xe-11g

HAL Browser

/rest/repository/browser/index.html

Default application properties (can be changed through system properties (use -D))

  • smsc.database.dialect = postgresql - database, which is used (other options - mysql, oracle, hsqldb, h2)
  • encrypt.key = smsc.io - used in password encryption
  • jwt.header = X-Authorization - name of request header, which is used for JWT authentication
  • jwt.secret = smsc.io - used in access token signature
  • jwt.expiration = 3600 - lifetime of access token (seconds).

Thanks

Thank you to BrowserStack for providing the infrastructure that allows us to test our project in real browsers.

smsc's People

Contributors

deacix avatar dimakuba avatar nazjara avatar stasbamiza 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.