Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kkato/tweet-app
Progate: Web開発コース(Ruby on Rails)
https://github.com/kkato/tweet-app
Last synced: 1 day ago
JSON representation
Progate: Web開発コース(Ruby on Rails)
- Host: GitHub
- URL: https://github.com/kkato/tweet-app
- Owner: kkato
- Created: 2024-08-24T13:54:17.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-11-07T12:37:21.000Z (8 days ago)
- Last Synced: 2024-11-07T13:41:06.560Z (8 days ago)
- Language: Ruby
- Homepage:
- Size: 1.24 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tweet App
Tweet App is a simple social networking app where users can post, view, and delete short messages (tweets). Built with Ruby on Rails, it supports user authentication and basic CRUD operations for tweets.
## Features
- User authentication (Sign up, log in, log out)
- Post, view, edit, and delete tweets
- View tweets per user
- Display a timeline with tweets from all users## Requirements
- Ruby: 3.1.6
- Rails: 7.0### Database initialization
```
bundle exec rake db:create
bundle exec rake db:setup
```## Installation
1. Clone the repository:
```
git clone https://github.com/username/tweet-app.git
cd tweet-app
```2. Install dependencies:
```
bundle install
```3. Set up the database:
```
rails db:create
rails db:migrate
```4. Start the Rails server:
```
rails server
```5. Visit `http://localhost:3000` in your browser to view the app.
## Usage
- Sign up for an account.
- Create a new tweet from the homepage.
- View all tweets on the timeline.
- Edit or delete your own tweets as needed.## Running Tests
To run the test suite, use the following command:
```
rails test
```