Skip to content

JonnyPickard/gains

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gains

Build Status

http://gains-app.herokuapp.com

About

This is an example of a monolithic application.

Note: I may refactor this into seperate containers/ microservices and create a seperate front end.

This is an Instagram clone for gym goers built with NodeJS, ExpresssJS and Mongodb. Tested with NightwatchJS, Selenium Webdriver, Mocha and Chai. CI with Travis, Hound and Heroku.

Feature Checklist

  • User login / registration / authentication
  • Upload photos
  • View all user photos stream page
  • OAuth login with facebook
  • OAuth login with google
  • Connect OAuth accounts in DB
  • User CRU avatar from account page
  • Endorse a photo
  • Comment on a photo
  • Endorse a comment
  • Comment on a comment
  • Upload / stream videos
  • Responsive UI / front end magic

Installation Instructions

Click on the links to download.

In a new terminal window boot up mongodb by running $ mongod

  1. Clone this repo.
  2. $ cd gains into directory.
  3. $ npm install to install dependencies.
  4. $ npm start to boot up a server and view on http://localhost:3000
  5. Unit tests
  • $ npm run unit to run unit tests.
  1. Feature tests
  • $ webdriver-manager start in a separate window to boot up Selenium Webdriver.
  • $ npm run e2e to run feature tests.