This project simply tests ones knowledge of active record, models, and associations to the tests. An application similar to Reddit (called Micro-Reddit) will be built where a user can create a post and add comments to it.
- Create a User
- Create a Post and associate with a User
- Create a Comment and associate with a User and Post
- Ruby on Rails
Project has no interface, hence you can clone the repo, setup on your local machine and play around with your terminal
- Confirm that you have Ruby installed. If not, you can read this documentation on how to install Ruby.
- Confirm that you have Rails installed. If not, visit this page and simply follow the instructions.
- Clone the repo
git clone https://github.com/oracleot/active_record_rails.git
- Install required gems by running:
bundle install
- Run database migration:
rails db:migrate
- Start Rails server
rails server
- Navigate to your browser and type in
http://localhost:3000
👤 Avijit Karmaker
- Github: @ajkacca457
- LinkedIn: https://www.linkedin.com/in/avijit-karmaker-8738a54
👤 Damilola Oduronbi
- Github: @oracleot
- LinkedIn: https://www.linkedin.com/in/doduronbi
Contributions, issues and feature requests are welcome!.
Give a ⭐️ if you like this project!
This project is Microverse student project