Blog App Streamline content creation, sharing, and amplification. Intuitive interface, powerful features. Write, publish, and share thoughts, ideas, stories effortlessly. Built with Ruby on Rails.
- ORM model
- User, Comment, Post, and like model
- Custom methods in each classes
- Add validation for user and post
- Test cases for each model
- Add views, controllers, and routes for each model
- Test cases for each controller
- Add views for user and posts
- Add forms for posts, comments, and likes
- Add integtation test and fix n+1 problems
- Add authentication using devise gem
- Add authorization using cancancan gem
- Add API endpoint
To get a local copy up and running, follow these steps.
In order to run this project you need:
- Command line or terminal
- IDE such as VsCode.
- Rails needs to be installed on your system.
Clone this repository to your desired folder: Example command:
git clone https://github.com/Leeoasis/rails-blog.git
cd blog-app
Example command:
cd blog_app
bundle install (install all dependencies)
To run the project redirecting to the root directory of the project and run the following command:
bin/rails server (to run web application)
To test the web app run the following command:
rspec spec ( to test the web application)
👤 Leslie Gudo
- GitHub: @githubhandle
- Twitter: @twitterhandle
- LinkedIn: LinkedIn
- [add API documentation]
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
we would like to thank microverse community for the support and guidance.
This project is MIT licensed.