An open platform to facilitate the creation of apps to promote local tourism and business in Nazareth
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
minutes
src
tests
.gitignore
.travis.yml
CONTRIBUTING.md
LICENSE
README.md
config.js
data_spec_v1.md
package-lock.json
package.json

README.md

Open Tourism Platform

Join the chat at https://gitter.im/open-tourism-platform/Lobby Build Status Coverage Status

Release History:

Version Number Release Date
0.0.0 Summer 2017
1.0.0 07/11/2017

If you want to get involved, check out the contributing file.

See the API docs here. See the guide for app developers using OAuth here.

What?

An open backend to help support and facilitate the creation of apps and websites aimed at developing tourism in Nazareth.

Primarily, and during initial phases, this will be an open database of places, products, services, events and reviews.

Local install instructions

Requirements: MongoDB

git clone https://github.com/foundersandcoders/open-tourism-platform.git && cd open-tourism-platform
npm i

Create a .env file containing three variables in the root directory:

MONGODB_URI_DEV=mongodb://localhost/open-platform-dev
MONGODB_URI_TEST=mongodb://localhost/open-platform-test
JWT_SECRET=devEnvironmentSecret

Ensure mongodb is running.

Run a dev server

npm run dev

Test scripts

# To run the tests:
npm test

# To run the istanbul coverage:
npm run coverage