/active_record_rails

Building with Active Records

Primary LanguageRuby

Building with Active Records

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.

Features

  • Create a User
  • Create a Post and associate with a User
  • Create a Comment and associate with a User and Post

Built With

  • Ruby on Rails

Live Demo

Project has no interface, hence you can clone the repo, setup on your local machine and play around with your terminal

Setting up

  • 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

Authors

👤 Avijit Karmaker

👤 Damilola Oduronbi

🤝 Contributing

Contributions, issues and feature requests are welcome!.

Show your support

Give a ⭐️ if you like this project!

📝 License

This project is Microverse student project