A Ruby on Rails web application for managing your personal friend list. Users can sign up, log in, and manage their own contacts — each user only sees and controls their own friends.
Live app: https://friend-list-app-0a3b2c1a2f33.herokuapp.com
- User authentication with Devise (sign up, log in, sign out, delete account)
- Add, show, edit, and delete friends
- Each user has their own private, secured friends' list
- Authorization — users can only view and edit their own friends
- Responsive UI with Bootstrap
This is my first Ruby on Rails project. Building it taught me:
- How Rails MVC architecture works (models, views, controllers)
- Setting up user authentication with Devise
- Creating and running database migrations
- Building CRUD functionality with Rails scaffolding
- Associating users with their own data using model associations
- Securing authorization so users can only view and edit their own friends
- Writing model and controller tests
- Using Bootstrap for a responsive UI
- Deployment to Heroku with PostgreSQL
- Ruby on Rails 8.1
- PostgreSQL
- Devise
- Hotwire (Turbo + Stimulus)
- Bootstrap
- Ruby 3.x+
- Ruby on Rails 8.1
- PostgreSQL
- Bundler (
gem install bundler)
Clone the repo:
git clone git@github.com:lillysilly3/friend_list_app.git
cd friend_list_appInstall dependencies:
bundle installMake sure PostgreSQL is running, then set up the database:
rails db:create
rails db:migrateStart the server:
rails serverThen open http://localhost:3000 in your browser.
- Add a notes/bio field for each friend
- Birthday reminders
- Search/filter friends by name
- Card view instead of a table
This project was built following the Ruby on Rails tutorial by Codemy.com on YouTube.