-
-
Notifications
You must be signed in to change notification settings - Fork 719
Tech Doc: App Routes
This page lists all the sources of routes in the OFN app.
You can see the full list by running ´rake routes´
In OFN:
- the main routes file config/routes.rb
- the admin routes file config/routes/admin.rb
- the ofn custom spree routes config/routes/spree.rb
In the core routes above you can see that spree and web engines are included in ofn routes
That includes the web engine routes engines/web/config/routes.rb
And all the spree routes files:
Additionally, devise also gets included with its routes (authentication related routes):
To understand how rails routes work you can read this guide: https://guides.rubyonrails.org/v3.2.8/routing.html
A very important point is "2.2 CRUD, Verbs, and Actions" where you can see how one entry in routes can generate 7 different routes.
Happy navigations!
Development environment setup
- Pipeline development process
- Bug severity
- Feature template (epic)
- Internationalisation (i18n)
- Dependency updates
Development
- Developer Guidelines
- The process of review, test, merge and deploy
- Making a great commit
- Making a great pull request
- Code Conventions
- Database migrations
- Testing and Rspec Tips
- Automated Testing Gotchas
- Rubocop
- Angular and OFN
- Feature toggles
- Stimulus and Turbo
Testing
- Testing process
- OFN Testing Documentation (Handbooks)
- Continuous Integration
- Parallelized test suite with knapsack
- Karma
Releasing
Specific features
Data and APIs
Instance-specific configuration
External services
Design