Skip to content

Commit 340ff0f

Browse files
committed
Merge branch 'main' of github.com:raphox/next-rails
2 parents 3b4d2ae + 018d49f commit 340ff0f

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ In one of my posts on [Medium](https://medium.com/@raphox/rails-and-next-js-the-
2222
1. When I compare the alternatives offered by [Hotwire](https://hotwired.dev/) with the entire React ecosystem, for me Hotwire is stuck in the way of developing web applications that were practiced more than ten years ago when there were no frameworks like React;
2323
2. The maturity and ease of the Ruby language and the Ruby on Rails framework justify having more than one language in the same project;
2424
3. Nothing prevents me from keeping the static site or Single-Page Application (SPA) for smaller projects and, if there's a need or demand, later maintaining my API and configuring my Next application to run on a Node server and offer SSR;
25+
4. Like Ruby on Rails itself, it is a framework that seeks to offer tools that help you create a new project with almost everything that a web application normally needs. The purpose of this gem is also to select the best tools you'll need to create a React application. In the future, new tools will be integrated into the project, but for now, you can see our current [stack](https://github.com/raphox/next-rails-scaffold#frontend-tech-stack) of Node packages;
26+
5. The reason for generating a scaffold, apart from saving time, is also to provide you with a development standard that will be validated and adjusted by other developers and teams. You'll have a path to follow when starting a new project;
2527

2628
## Key Features:
2729

@@ -67,17 +69,18 @@ app/
6769
...
6870
frontend/
6971
src
72+
components
73+
Post.js
74+
PostForm.js
7075
pages
7176
posts
7277
[id]
7378
edit.js
7479
index.js
75-
_components
76-
Post.js
77-
PostForm.js
7880
index.js
7981
new.js
80-
services.js
82+
providers.js
83+
services.js
8184
```
8285

8386
Sample app https://github.com/raphox/next-rails-app.

0 commit comments

Comments
 (0)