Skip to content

airSDC/Booking-Service

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Airbnb Booking Component

This is an mock-up airbnb booking component built during the Hack Reactor immersive's Front End Capstone project.

This project is intended to work as a full-stack microservice integrated with my team's microservices to form a complete airbnb single item page.

Related Projects

Table of Contents

  1. Usage
  2. Requirements
  3. Development

Usage

Visit our site! - http://www.frontendcapstone.fun

Technology stack

A full stack react app built with the philosophy of continuously-integrated, test-driven development.

Requirements

An nvmrc file is included if using nvm.

  • Node v8.10.0
  • npm v3.5.2
  • MongoDB v3.6.3

Rest API

  • GET | route: api/rooms/:id/bookings | Get's the room/bookings info from the db
  • POST | route: api/rooms/:id/bookings | Creates a new room/bookings in the db
  • PUT | route: api/rooms/:id/bookings | Updates a room in the db
  • DELETE | route: api/rooms/:id/bookings| Removes a room in the db

Installing Dependencies

From within the root directory:

npm install

Development

From within the root directory:

To seed database

npm db:seed

To run server

npm start

To run dev enviroment/webpack

npm run react-dev

To run tests

npm test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 80.2%
  • CSS 18.2%
  • HTML 1.3%
  • Dockerfile 0.3%