- User arrives onto landing page
- User clicks request invite button
- User fills in form with name and email (validation for fields: all fields required, email validation)
- User clicks submit and POST request is sent with new user in params
- Failed API responses render custom error messages
https://otterlenghi.herokuapp.com/
-
$ git clone https://github.com/habin-isa/otter.git
-
$ cd otter
-
$ yarn
-
$ yarn run dev
-
$ yarn test
- React CLI
- Pretty-quick
- Styled components
- Jest
- Axios
- Babel/EsLint
- Prop-types
- React-modal
- React-hook-form