Skip to content

Hostal Saez its a first version of a web page developed for a small hostel business (Node.js Demo Webpage)

Notifications You must be signed in to change notification settings

fquevedo/hostalsaez

Repository files navigation

Hostal Saez Coverage Status

Hostal Saez its a first version of a web page developed for a small hostel business

Built focus on development of server side architecture that renders the view using jade, css for styles and javascript. using sockets for realtime communication between the client and server.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. Also will give you an example of how to running the project on cloud services using heroku and mLab as database service.

Prerequisites

Local

Heroku

Optional

Install via git clone

$ git clone https://github.com/fquevedo/hostalsaez
$ cd hostalsaez
$ npm install 

Heroku configuration

We will use examplename as app heroku name

cd hostalsaez
heroku login
heroku create examplename

git init
heroku git:remote -a examplename
git add .
git commit -m "first git heroku commit"
git push heroku master

Parameters Setting

Setup url and mongodb variables in [server.js] file located in root folder project

For use heroku set app domain as url value:

const url = 'https://examplename.herokuapp.com'

Local:

const url = 'http://127.0.0.1:3001'

MLab mongodb database for test purpouses:

const mongodb = 'mongodb://testuser:Test123@ds157819.mlab.com:57819/testing'

Running the tests

For test in your local machine use https://127.0.0.1:3001

If use heroku https://examplename.herokuapp.com

Built With

  • Node.js - JavaScript runtime built
  • Heroku - Cloud plataform services
  • GIT - Version control system
  • Gulp-PostCSS - Tool for transforming CSS with JavaScript
  • JSHint - Static Code Analysis Tool
  • Travis CI - Continuous integration service

Authors

  • Fernando J. Quevedo - Initial work - fquevedo

About

Hostal Saez its a first version of a web page developed for a small hostel business (Node.js Demo Webpage)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published