Table of Contents
The Blog-dev is a fully functional website that allows users to view a list of posts, add comments, and like posts. The project includes data model creation, model validations, and specs, processing data in models, setting up controllers, creating controller specs, building views and forms, fixing n+1 problems, adding Devise for authentication, adding authorization rules, and implementing API endpoints. The final exercise involves creating API documentation.
- Ruby on Rails
- PostgreSQL
- Use database migrations
- Blog webapp
To run this project locally, you'll need to follow these steps.
Make sure you have the following installed on your machine:
Clone this repository to your desired folder.
git clone https://github.com/bernabasy/Blogify.git
cd BlogifyInstall the required gems with:
bundle installCreate the databases and run migrations with:
rails db:create
rails db:migrateTo run the development server, execute the following command:
rails serverTo run tests, run the following command:
rspec spec👤 Bernabas
- GitHub: @githubhandle
- Twitter: @twitterhandle
- LinkedIn: LinkedIn
👤 Peter Ugwu
- GitHub: @PeteUgwu
- Twitter: @Petrus4Charles
- LinkedIn: @peteugwu
- Create API endpoints
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
If you like this project, please consider giving it a ⭐.
I would like to thank all micronant and code reviewers for making this project better.
This project is MIT licensed.