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

Joi sequelize food for thought #49

Open
jrans opened this issue Sep 28, 2016 · 1 comment
Open

Joi sequelize food for thought #49

jrans opened this issue Sep 28, 2016 · 1 comment

Comments

@jrans
Copy link
Member

jrans commented Sep 28, 2016

https://github.com/mibrito/joi-sequelize

covers joi and postgres and could be used for inspiration?

@nelsonic
Copy link
Member

@jrans this is attempting to solve the problem from the other end.
(defining the schema in sequelize and then validating it in Joi)
Yes, use it as inspiration.
But I would actually like to approach the problem from the front-end as in how are the people going to interact with the data. What HTML field types are we going to use and how do they map to the database?
In the first instance if we just create a model with a handful of fields we can make more focussed progress...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants