Coder Social home page Coder Social logo

nexmo-community / contact-center-server-node Goto Github PK

View Code? Open in Web Editor NEW
3.0 12.0 7.0 468 KB

Build Your Own Contact Center (Node.js server). This is one of the components required for Nexmo's "Contact Center Use Case". You can run it locally or deploy it to Heroku as described below.

Home Page: https://developer.nexmo.com/client-sdk/in-app-voice/contact-center-overview

License: MIT License

HTML 33.22% JavaScript 60.34% CSS 6.44%
nexmo client-sdk contact-center heroku nexmo-account database server

contact-center-server-node's Introduction

Nexmo

Build Your Own Contact Center (Node.js server)

This is one of the components required for Nexmo's "Contact Center Use Case".

To get started, you can use this server as a basis for your application's backend. You can run it locally or deploy it to Heroku as described below.

Table of Contents

Getting Started

Start Locally

Nexmo Account

To be able to use this application you'll need to Sign up for a Nexmo account.

Mongo Database

Set up a database and make note of the service address. It usually starts with mongodb:// on port 27017. You'll need to add this to the environment file.

Environment File

Create an environment file by copying the example file, .example.env to .env, and editing it with your own configuration. Omitting environment variables will cause the application to use default values. As Nexmo needs to be able to access the server to provide NCCOs, default values will prevent you from making calls.

APP_URL=http://url-for-the-server.com
PORT=4000
MOBILE_API_KEY=a-random-url-key-here
MONGO_URL=mongodb://localaddress:27017/database-name

Start it!

Before you start it for the first time, run this to install our dependencies.

npm install

Once installed, you can now run it locally.

npm run dev

Deploy with Heroku

This application is configured to deploy to Heroku.

Deploy

Code of Conduct

In the interest of fostering an open and welcoming environment, we strive to make participation in our project and our community a harassment-free experience for everyone. Please check out our Code of Conduct in full.

Contributing

We ❤️ contributions from everyone! Check out the Contributing Guidelines for more information.

contributions welcome

License

This project is subject to the MIT License

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.