Skip to content

kobiyoyo/Rails-Api-Practice

Repository files navigation


Photo Api

A Ruby on Rails application

Report Bug Request Feature

facebook-project

Description

The Rails-Api-Practice project is an implementation of Photo using Ruby on Rails api.

Built With

  • Ruby
  • Ruby on Rails
  • Bullet
  • Rubocop
  • PostgreSQL

Features

  • A user can add photo.
  • A user can add comments to photos.

Environment

  • 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'

Usage

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

Contributors

Contributing

  1. Fork it (https://github.com/kobiyoyo/Rails-Api-Practice/fork)
  2. Create your feature branch (git checkout -b feature/[choose-a-name])
  3. Commit your changes (git commit -am 'what this commit will fix/add')
  4. Push to the branch (git push origin feature/[chosen-name])
  5. Create a new Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published