Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 0 additions & 27 deletions .codeclimate.yml

This file was deleted.

2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
npm-debug.log
8 changes: 8 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
__DEV__=true
NODE_ENV=development
OAUTH_FACEBOOK_ID=placeholder
OAUTH_FACEBOOK_SECRET=placeholder
PORT=3000
REDIS_HOST=localhost
REDIS_PORT=6379
SECRET=marvin
213 changes: 0 additions & 213 deletions .eslintrc

This file was deleted.

5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
language: node_js
node_js:
- "6"
- "node"
services:
- mongodb
- redis-server
before_script:
- sleep 15
env: # required to not break the build when installing node-gyp
Expand All @@ -13,5 +14,3 @@ addons:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
after_success:
- './node_modules/.bin/nyc report --reporter=text-lcov | ./node_modules/.bin/coveralls'
13 changes: 13 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM node:boron

RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app

COPY package.json /usr/src/app
RUN npm install

COPY . /usr/src/app

EXPOSE 3000

CMD ["npm", "run", "build"]
1 change: 0 additions & 1 deletion Procfile

This file was deleted.

31 changes: 1 addition & 30 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,33 +3,4 @@
[![Code Climate](https://codeclimate.com/repos/57c5af4f15391043d3000197/badges/3301087a120971e3e2e5/gpa.svg)](https://codeclimate.com/repos/57c5af4f15391043d3000197/feed)
[![Coverage Status](https://coveralls.io/repos/github/geclos/dezibel-api/badge.svg?branch=master)](https://coveralls.io/github/geclos/dezibel-api?branch=master)

#Dezible API
Back-end service for a small *airbnb-like* app I'm developing.

##TL;DR

You can do whatever you want with the code. For example: it can easily be stripped down to an auth API layer with Oauth support for any kind of service.

##Motivation

It is an app aimed at music bands, live-music venues and fans. Venues can create events and hire bands through the app whereas fans can search for nearby events, comment on past events and check in to upcoming events.

Currently the back-end supports:

1. CRUD of users stored in a Redis SaaS.
2. Oauth support through facebook.
3. CRUD of events stored in a mongoDB SaaS.
4. CRUD of offers (contract offers from venus to bands tied to a specific event) stored in mongoDB.
5. Geolocation queries to get nearby events.

Tech stack:

1. HapiJS
2. AvaJS
3. tracis CI
4. heroku

I try to maintain the project healthy with a set of unit tests, Travis CI, and greenkeeper integration to manage dependency updates.

Enjoy!
G.
foo
15 changes: 0 additions & 15 deletions nodemon.json

This file was deleted.

Loading