This project was improving and adding a few functionalities to the already exisiting Stay In Touch social media app. You can find the original project repo here
- The user is able to send a friendship invitation.
- The user is able to accept or reject a friendship request.
- The user is able to see posts created only by them and their friends.
- Ruby
- Ruby on Rails,
- RSpec and capybara
- Postgresql
To get a local copy up and running follow these simple example steps.
- The project is built using Rails 5 and Ruby-2.7.0
- Install Ruby and Git on local machine
- Clone the project into your local machine.
- cd in ror-social-scaffold.
- run
bundle install
. - Run
rails db:migrate
. - Run
rails c
to interact with the database. - Run
rails s
to open the project on the browser.
- Run
npm install
to download all the packages listed in the package.json file.
- For model tests:
bundle exec rspec spec/models/<insert-name-of-file-from-specs/models-folder>
- For view tests:
bundle exec rspec spec/features/<insert-name-of-file-from-specs/features-folder>
- For controller tests:
bundle exec rspec spec/controllers/<insert-name-of-file-from-specs/controllers-folder>
- For helper tests:
bundle exec rspec spec/helpers/application_helper_spec.rb
- Github: @blackpintz
- Twitter: @blackpintz
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
Give a โญ๏ธ if you like this project!
- The Odin Project
- Stay In Touch Github repo
This project is MIT licensed.