A Ruby on Rails application
Report Bug
Request Feature
The Rails-Api-Practice project is an implementation of Photo using Ruby on Rails api.
- Ruby
- Ruby on Rails
- Bullet
- Rubocop
- PostgreSQL
- A user can add photo.
- A user can add comments to photos.
- Ruby on Rails version 6.0
- Bootstrap-sass is a Sass-powered version of Bootstrap 3, ready to drop right into your Sass powered applications version 3.3.7
- Puma: A Ruby Web Server Built For Concurrency version '3.9.1'
Clone the repository to your local machine
$ git clone https://github.com//kobiyoyo/FACEBOOK-CLONE/.git
cd into the directory
$ bundle install --without production
Next,create & migrate the database:
$ rails db:create
$ rails db:migrate
Run the app in a local server:
$ rails server
Finally, run the test suite to verify that everything is working correctly:
$ rspec
You can then drop into rails console to explore the models
$ cd rails c
- Fork it (https://github.com/kobiyoyo/Rails-Api-Practice/fork)
- Create your feature branch (git checkout -b feature/[choose-a-name])
- Commit your changes (git commit -am 'what this commit will fix/add')
- Push to the branch (git push origin feature/[chosen-name])
- Create a new Pull Request
This project is licensed under the MIT License - see the LICENSE file for details