This is an example of Sign Up page made with Ember.js.
Sign Up Form has client side validation (thanks to ember-cp-validations) for all form fields.
Also, server-side validations are supported. Currently server is mocked with ember-cli-mirage. Username is additionally checked for the availability.
Note: In order to make the username already taken - just try to register the same name twice, without reloading the app.
Just follow installation instructions, run it, and check how it works.
You will need the following things properly installed on your computer.
- Git
- Node.js (with npm)
- Ember CLI
- Google Chrome
git clone https://github.com/arconamagi/ember-signup-example.gitcd ember-signup-examplenpm install
ember serveornpm run start- Visit your app at http://localhost:4200.
- Visit your tests at http://localhost:4200/tests.
ember testember test --server
npm run lint to lint *.js, *.hbs, *.css files.
Or you can check separately:
npm run lint:hbsnpm run lint:cssnpm run lint:jsnpm run lint:js -- --fix
ember build(development)ember build --environment production(production)
However, this package was not tested in production :)
Copyright (c) 2019 Dmitriy Labuzov
Licensed under the MIT License.
