About | Installing | Built with | Authors
In this project, we built an application similar to Reddit(Micro-reddit) using rails where a user can create a post and add comments to it. This project puts our knowledge of active record, models, and associations to the tests in a full functioning application and use case. The parameters for creating the user and post functionalities are shown below:
-
User
username:string [unique, 4-12 chars, present]
-
email:string [unique, present]
-
password:string [6-16 chars, present]
-
id:integer
-
created_at:datetime
-
updated_at:datetime
-
has_many posts
-
Posts
title:string [unique, present]
-
body:text [present]
-
author_id:integer [present]
-
id:integer
-
created_at:datetime
-
updated_at:datetime
-
belongs_to author
User
username:string [unique, 4-12 chars, present]
email:string [unique, present]
password:string [6-16 chars, present]
id:integer
created_at:datetime
updated_at:datetime
has_many posts
Posts
title:string [unique, present]
body:text [present]
author_id:integer [present]
id:integer
created_at:datetime
updated_at:datetime
belongs_to author
Use whatever format feels best to you.
- Ruby
- Ruby on Rails
- HTML
- CSS
-
Clone by running the following command;
-
cd into ActiveRecord
-
Make all required installations if on available
Run 'rails server' and follow the instructions displayed.
👤 Uduak John
- Github: @udberg
- Twitter: @juduak_
- Linkedin: @Uduak John
👤 Murodjon Tursunpulatov
- Github: @murodjon000
- Twitter: @MurodjonTursun5
- Linkedin: @Murodjon Tursunpulatov
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project! They're free...
I share this project under GNU GENERAL PUBLIC LICENSE, so everybody can reuse and modify it. For any external content (e.g. logo, images, ...), please contact the proper author and check their license of use. Thank you!
Template made by Uduak John and Murodjon Tursunpulatov