{"id":15152629,"url":"https://github.com/mdromi/rails-nextjs-starter","last_synced_at":"2026-02-18T02:35:29.530Z","repository":{"id":222919978,"uuid":"758710963","full_name":"Mdromi/rails-nextjs-starter","owner":"Mdromi","description":"A starting point for your Ruby on Rails, PostgreSQL, Next.js, and Tailwind CSS project.","archived":false,"fork":false,"pushed_at":"2024-04-03T08:13:15.000Z","size":196,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T13:52:56.799Z","etag":null,"topics":["nextjs","postgresql","rails","ruby","ruby-on-rails","rubyonrails","starter-template","tailwindcss"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Mdromi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-16T22:31:35.000Z","updated_at":"2024-02-16T22:36:20.000Z","dependencies_parsed_at":"2024-02-20T00:26:35.094Z","dependency_job_id":"0faf1feb-e120-4038-81f0-22dd22131cbe","html_url":"https://github.com/Mdromi/rails-nextjs-starter","commit_stats":null,"previous_names":["mdromi/rails-nextjs-starter"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mdromi%2Frails-nextjs-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mdromi%2Frails-nextjs-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mdromi%2Frails-nextjs-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mdromi%2Frails-nextjs-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mdromi","download_url":"https://codeload.github.com/Mdromi/rails-nextjs-starter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247640472,"owners_count":20971558,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["nextjs","postgresql","rails","ruby","ruby-on-rails","rubyonrails","starter-template","tailwindcss"],"created_at":"2024-09-26T16:20:22.873Z","updated_at":"2025-10-19T00:04:31.745Z","avatar_url":"https://github.com/Mdromi.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rails Nextjs Tailwind Starter\n\nA starting point for your Ruby on Rails, PostgreSQL, Next.js, and Tailwind CSS project.\n\n## Table of Contents \n\n- [Setup](#setup)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Setup\n\n### Backend (Ruby on Rails) \u0026 Frontend (Next.js)\n\n1. Clone the repository:\n\n   ```bash\n    git clone https://github.com/mdromi/rails-nextjs-starter\n   ``` \n   or\n   ```bash\n    gh repo clone mdromi/rails-nextjs-starter\n   ``` \n2. Navigate to the backend directory:\n    ```bash\n    cd rails-nextjs-starter\n    ```\n3. Install dependencies:\n    ```bash\n    bundle install\n    ```\n4.  Rename the `.env.example` file to `.env`\n    ```bash\n    mv .env.example .env\n    ```\n4.  Add your database information\n    ```bash\n    # FOR DATABASE\n    DATABASE_NAME_DEVELOPMENT=your_app_name_development\n    DATABASE_NAME_TEST=your_app_name_test\n    DATABASE_NAME_PRODUCTION=your_app_name_productions\n    DATABASE_USERNAME=your_database_username\n    DATABASE_PASSWORD=your_database_password\n    ```\n5. Setup SMTP Server\n    ```bash\n    # SETTING UP SMTP SERVER\n    GMAIL_USERNAME=your_gmail_username\n    GMAIL_PASSWORD=your_gmail_password\n    ```\n4. Generate a secret\n    ```bash\n    bundle exec rails secret\n    ```\n5. Encrypted credentials file\n    ```bash\n    #VSCode \n    EDITOR='code --wait' rails credentials:edit\n    ```\n6. Then we add a new key\n    ```bash\n    # Other secrets...  \n    #Used as the base secret for Devise-JWT \n    devise_jwt_secret_key: (copy and paste the generated secret here)\n    ```\n7. Setup the database:\n    ```bash\n    rails db:create\n    rails db:migrate\n    ```\n8. Install dependencies frontend\n    ```bash\n    cd frontend \u0026\u0026 yarn install \u0026\u0026 cd ..\n    ```\n9. Start the servers using the provided script:\n    ```bash\n    ./start-servers.sh\n    ```\nThis script will start both the Rails backend server and the Next.js frontend server concurrently.\n\nAccess the frontend application at [http://localhost:5100](http://localhost:5100) in your web browser.\n\nAccess the backend API endpoints at [http://localhost:3001/](http://localhost:3001/).\n\n## Contributing\n\nContributions are welcome! Please fork the repository and submit a pull request with your changes. For major changes, please open an issue first to discuss what you would like to change.\n\n## License\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdromi%2Frails-nextjs-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdromi%2Frails-nextjs-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdromi%2Frails-nextjs-starter/lists"}