What's included here: A one-page app that lets you register a new user and that displays a table containing previously registered users. These users are persisted in a postgres database. There is validation on the form, but no server-side validation.
What you need to create: server-side validation. If the form validation is somehow circumvented, any attempt to register a user with invalid credentials should be caught and handled by the server.
Let's get it running!
Installation:
- Clone this repo
- $ npm install
- $ createdb validations
- $ knex migrate:latest
- $ knex seed: run
- $ nodemon