Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server -side validator #9

Open
rebecacalvoquintero opened this issue Aug 16, 2017 · 0 comments
Open

Server -side validator #9

rebecacalvoquintero opened this issue Aug 16, 2017 · 0 comments

Comments

@rebecacalvoquintero
Copy link
Collaborator

  1. SUbmit the idea
  2. post the idea request
  3. The idea goes to the body parser middleware
  4. Creates a promise called validator
  5. In the validator, the form-object will be validated to check all the fields are 'valid' or 'coherent'
  6. If there is an error -> error page.
  7. If valid, this will go to the database by a post idea function.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant