This is a simple Sinatra application that connects to a Redis server running on localhost.
sinatra-redis-app
├── app.rb
├── config
│ └── redis.rb
├── Gemfile
└── README.md
- Ruby
- Sinatra
- Redis
-
Clone the repository:
git clone <repository-url> cd sinatra-redis-app
-
Install the required gems:
bundle install
-
Start the Redis server on localhost:
redis-server
-
Run the Sinatra application:
ruby app.rb
Once the application is running, you can access it at http://localhost:4567
. You can interact with the Redis server through the endpoints defined in the application.
Feel free to submit issues or pull requests for improvements or bug fixes.