The interface will be a JSON API. Please follow http://jsonapi.org/ standard.
There are users, blog posts and comments. A user can own many blog posts, and a blog post can have many comments.
-
Users should be able to sign up, and log in.
-
POST /sign_up
will receive an email and password params and will create a new User. Theemail
param must be a valid email address and the password must be at least 8 chars long.