Skip to content

A booking app with appointment form and appointment list built from React components on a FountainJS React base. Initial data is read from a json file and additional appointments are held in an array until the next page refresh.

Notifications You must be signed in to change notification settings

smerth/react-15-booking-app-fountainjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React v.15 - Booking App

Overview

An app to book an appointment for a pet to visit a vet, from the Lynda.com course Building a Web Interface with React.js, but starting from the FountainJS fountain-react generator.

App Screenshot

Usage

Get the code

@ your-project-folder

git clone https://github.com/smerth/react-15-booking-app-fountainjs.git

Install dependancies

npm install

Run server

node server.js

Deploy

To deploy to gh-pages uncomment base url containing the target repo. Run npm run build and gulp deploy.

Also add the publicPath to the webpack output plugin @ webpack-dist-conf.js

See: Webpack/docs/config

  output: {
    path: path.join(process.cwd(), conf.paths.dist),
    publicPath: "/REPO-NAME", 
    filename: '[name]-[hash].js'
  },

N.B. No trailing slash after the repo name.

Comment out the base url for local development.

About

A booking app with appointment form and appointment list built from React components on a FountainJS React base. Initial data is read from a json file and additional appointments are held in an array until the next page refresh.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published