Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marcosspessatto/restapi-livechat
A little example of RestAPI with MeteorJS and Iron Router
https://github.com/marcosspessatto/restapi-livechat
chai es6 iron-router meteorjs mocha mongodb rest-api sinon supertest
Last synced: 8 days ago
JSON representation
A little example of RestAPI with MeteorJS and Iron Router
- Host: GitHub
- URL: https://github.com/marcosspessatto/restapi-livechat
- Owner: MarcosSpessatto
- License: mit
- Created: 2017-12-19T18:14:36.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2017-12-20T00:45:51.000Z (almost 7 years ago)
- Last Synced: 2024-04-28T05:17:14.381Z (7 months ago)
- Topics: chai, es6, iron-router, meteorjs, mocha, mongodb, rest-api, sinon, supertest
- Language: HTML
- Homepage:
- Size: 219 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RestAPI - Livechat [![Build Status](https://travis-ci.org/MarcosSpessatto/RestAPI-Livechat.svg?branch=master)](https://travis-ci.org/MarcosSpessatto/RestAPI-Livechat) [![Coverage Status](https://coveralls.io/repos/github/MarcosSpessatto/RestAPI-Livechat/badge.svg?branch=master)](https://coveralls.io/github/MarcosSpessatto/RestAPI-Livechat?branch=master)
This is a little example of an RestAPI using [MeteorJS](https://www.meteor.com/) And [Iron Router](http://iron-meteor.github.io/iron-router/)
### Features:
* CRUD Departments### Requirements
- [Git](https://git-scm.com/downloads)
- [MeteorJS 1.6](https://www.meteor.com/install)
- [NodeJS LTS](https://nodejs.org/en/download/)### Getting Started
# Get the repo
git clone https://github.com/MarcosSpessatto/RestAPI-Livechat.git
# Change directory
cd RestAPI-Livechat
# Install Meteor dependencies(with admin roles)
meteor npm install
# Install NPM dependencies
npm install
# Run the API
npm start
# Run unit tests
npm run test - Single run
npm run test:watch - Live mode
npm run coverage - Coverage - Html Reporter at ./tests/coverage-unit
# Run integration tests (* Important, you should be running the project in one tab to run integration tests *)
npm run test:integration - Single run
### Documentation
- [RestAPI - Livechat](https://marcosspessatto.github.io/RestAPI-Livechat/)### License
- [MIT](https://opensource.org/licenses/MIT)