This is a web app that provides the opportunity for people who are passionate about reading and writing articles. People can create blogs and others can be able to visit and read them. In addition, they can like and add comments on these posts. It is built with Rails. It is also furnished with user management using the devise gem and api integration interface to enable developers plug in easily and use with different front-ends. there is also authentication during user sign in and out processeses. I also added the authorization process to limit services depending on the roles of users.
- Ruby
- Ruby on Rails
- Rubocop
- Bootstrap
- Gems
- Rspec
- Capybara
- Swagger-UI
- JWT Authentication
- Selenium-webdriver
- cancancan
- Devise
Follow these steps below:
- Ruby
- Rails
- PostgreSQL
Clone the repo and run bundle install in the command line to install the dependencies
$ git clone https://github.com/BertrandConxy/Rwa-blogs.git
$ cd Rwa-blogs
$ bundle install
$ npm install
$ rspec
- this will run all the test cases
$ rspec spec/folder_name/name_of_test_file.rb
- to run test cases individually
$ rails server
Open http://localhost:3000/ in your browser
Open http://localhost:3000/api-docs/index.html in your browser
👤 Bertrand Mutangana Ishimwe
- GitHub: @BertrandConxy
- Twitter: @Bconxy
- LinkedIn: Bertrand Mutangana Ishimwe
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- Hat tip to anyone whose code was used
This project is MIT licensed.