Skip to content

Instantly share code, notes, and snippets.

View enesmaster's full-sized avatar
:electron:
Experiencing...

Enes enesmaster

:electron:
Experiencing...
  • Turkiye
  • 12:50 (UTC +03:00)
View GitHub Profile

Windows


docker-compose down
docker-compose build --no-cache
docker-compose up -d
docker-compose logs -f app (optional)

#create or upgrade toadmin 
@enesmaster
enesmaster / ruby_on_rails_get_started.md
Created July 22, 2025 13:18
Ruby on Rails API Playground - Getting Started Guide

Ruby on Rails API Playground - Getting Started Guide

Prerequisites

  • Ruby 3.0+ installed
  • Rails 7.0+ installed
  • Basic understanding of MVC architecture
  • Your FastAPI backend running with JWT authentication

1. Installation & Setup

ratings = [1,3,4,5,2,3,4,2,2,4,2,5,4,3]
sum_of_ratings = 0
for rating in ratings:
sum_of_ratings += rating
result = int(sum_of_ratings / len(ratings))
print(result)