This project is an example of a system where a user can create posts and others can comment on those posts.
-
Username must be between 3-35 characters long and must be unique.
-
Email must not be null and has to be unique.
-
Post title must be between 5-20 characters long.
-
Post body must be between 20-360 characters long.
-
Comment must be between 5-200 characters long.
cd ~/micro-reddit rails console
You can then create new users, posts or comments: user/comment/post.create