This is a Ruby on Rails API application which I am creating to act as my backend server for my personal portfolio. Data that is supposed to be displayed in my portfolio will all come from this API application. This application will help me practice:
- The REST framework by creating CRUD API endpoint for adding, deleting updating data
- Writing integrated unit tests using the Rspec library for unit tests for my API end points.
- API documentation using the Rswag library to document the endpoint for my API application.
- The Ruby on Rails MVC. Technically just the Models and controllers as this is an API application there will be no view here but the view will be an external application.
- Project documentation by writing a detailed README upon completion to help anyone who might be interested with my project
- Project deployment making use of render which will host my API application.
Enjoy!
- Ruby on Rails
- PostgreSQL
- Test-driven development
- Rubocop
- Ruby Gems
To get local copy of the project and run
git clone git@github.com:Nemwel-Boniface/portfolio_backend.git
cd portfolio_backend
gem install bundler
bundle install
rails s
Setup db
su - postgres
psql
create role nemwel with createdb login password 'root'
rails db:setup
rails db:create
rails db:seed
bundle exec rspec
rubocop
rake
rspec
rubocop
rubocop --auto-correct-all
orrubocop -A
Have fun with TDD!
👤 Nemwel Boniface
- GitHub: @Nemwel Boniface
- Twitter: @Nemwel Boniface
- LinkedIn: @Nemwel Bonifacej
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- Anyone whose code will be used
This project is MIT licensed.