Skip to content

brolinr/sample_app

Repository files navigation

Ruby on Rails Sample App (Hartl Tutorial)

This is a sample Ruby on Rails application created as part of the Michael Hartl's Rails Tutorial. It's designed to help you learn and understand the fundamentals of building web applications with Ruby on Rails.

Features

  • User authentication (signup, login, logout)
  • User profiles
  • Micropost creation and deletion
  • Following and followers
  • Static pages (Home, Help, About, Contact)

Getting Started

Prerequisites

Before you begin, make sure you have the following installed:

  • Ruby: 3.1.2
  • Rails: 7.0.4

Installation

  1. Clone this repository:

    git clone https://github.com/brolinr/sample_app.git
  2. Navigate to the project's directory:

cd sample_app
  1. Install required gems:
bundle config set --local without 'production' && bundle install
  1. Setup the database:
rails db:migrate
  1. Run the tests:
rails test
  1. If all tests are passing then start the server:
rails server
  1. Open your web browser and visit http://localhost:3000 to access the Rails Tutorial sample app.

Usage

This app is an implementation of the sample app described in Michael Hartl's Rails Tutorial. You can use it to learn the basics of Ruby on Rails, including user authentication, microposts, and more. Follow the chapters of the tutorial to explore different features.

License

This project is based on the [https://www.railstutorial.org/](Ruby on Rails Tutorial) by Michael Hartl. Please refer to the tutorial for licensing details and terms of use.

Acknowledgments

  • Michael Hartl for the Rails Tutorial

Contact

If you have any questions or need assistance with this sample app, please refer to the Ruby on Rails Tutorial for support and additional resources. Enjoy learning with the Ruby on Rails Sample App! Happy coding!

About

A social media platform almost like twitter

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published