---
description: Describe about project structure of Rails framework
---

# Rails Structure

**Folder Structure In /app**

1. /asset = store  static file or style sheet&#x20;
2. /asset/images = store image that use by layout
3. /asset/stylesheets = store all of css that use in view&#x20;
4. /asset/stylesheets/application.css = manifest of all css (must have to let all css available in application
5. /channel = utilize for make realtime , broadcast or chat application
6. /controller = controller of view&#x20;
7. /controller/application\_controller =  it like a house for all controllers, All controllers that we created are a subclass of ApplicationController
8. /helper = store helper function that use only in our view
9. /javascript = In Rails6 it has this folder to make our view can use javascript by Webpack&#x20;
10. /model = store all of model
11. /view = store layout file

**Folder Structure In /config**

1. /environment = store all of configuration separate by environment
2. /routes = store routes
3. /credentials.yml.enc = store credential key with encrypt

**Folder Structure In /db**&#x20;

store migration file about database

