Giter Site home page Giter Site logo

sirimangalo / meditation-plus-server Goto Github PK

View Code? Open in Web Editor NEW
5.0 6.0 2.0 3.67 MB

DEVELOPMENT MOVED TO

Home Page: https://gitlab.com/sirimangalo/meditation-plus

License: MIT License

JavaScript 94.94% Shell 0.50% HTML 4.56%
meditation expressjs mongodb mongoose nodejs passport socket-io

meditation-plus-server's Introduction

Travis CI Dependency Status License

REST API for Meditation+ Join Slack

REST API built with Node, Express, PassportJS, MongoDB, Mongoose and Socket.io.

Quick Start

# inside the cloned repository

# install dependencies
$ npm install

# run server
$ gulp serve

config.json

The server.conf.js file is expecting certain environment variables to be set within Node. The env.conf.js has functions to check whether the expected environment variables have been setup before proceeding to start up the rest of the server. It uses a file called config.json stored in the config directory that looks something like this:

{
  "HOST" : "https://medidation.sirimangalo.org",
  "ENV" : "development",
  "PORT" : 3000,
  "MONGO_URI" : {
    "DEVELOPMENT" : "mongodb://[username:password]@host[:port]",
    "PRODUCTION" : "mongodb://[username:password]@host[:port]",
    "TEST" : "mongodb://[username:password]@host[:port]"
  },
  # Generate your own 256-bit WEP key here:
  # http://randomkeygen.com/
  # Note that you don't need to use specifically
  # this, but it will certainly suffice
  "SESSION_SECRET" : "the session secrect",
  # You can generate a key with a Google account at https://console.developers.google.com/
  # (needs Google Cloud Messaging and YouTube Data API to be activated first)
  "GOOGLE_API_KEY" : "the google api key"
}

meditation-plus-server's People

Contributors

binarious avatar greenkeeperio-bot avatar jiixing avatar yuttadhammo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

jiixing music-rec

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.