Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 534 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 534 Bytes

Angular 2 & Rails Server Side Validation

This example application demonstrates the handling of server-side validation errors with Rails and Angular 2.

Usage

Prepare backend and start Rails development server (supposing you have Ruby/Bundler available):

cd backend
bundle
rails db:migrate
rails s

Prepare frontend and start Webpack development server (supposing you have Node/NPM installed):

cd frontend
npm install
npm start

Visit the app in your browser:

http://localhost:4200/