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

[Spike] Validation of inputs (frontend & backend) #117

Open
kaiNext opened this issue Mar 18, 2020 · 0 comments
Open

[Spike] Validation of inputs (frontend & backend) #117

kaiNext opened this issue Mar 18, 2020 · 0 comments
Assignees

Comments

@kaiNext
Copy link
Contributor

kaiNext commented Mar 18, 2020

Frontend
Built-in form validation (using HTML5 form validation features)

Backend

The risk of NoSQL injection is mitigated with the use of mongoose which takes care of validating user input for expected types.
Using @hapi/joi may provide additional protection; however, a separate schema for joi may need to be maintained (i.e. repeating the schema already set up for mongoose)

@nicolebudiman nicolebudiman self-assigned this Jun 24, 2020
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

2 participants