Skip to content

Instantly share code, notes, and snippets.

@nemoinho
Last active August 3, 2020 22:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nemoinho/81f8486f84db2d822f6618e4afa5f2db to your computer and use it in GitHub Desktop.
Save nemoinho/81f8486f84db2d822f6618e4afa5f2db to your computer and use it in GitHub Desktop.
Orderstruktur-Beispiel einer React-Anwendung
root/
├─ assets/
│  └─ favicon.ico
└─ src/
   ├─ App.js
   ├─ services/
   │  └─ play─client/
   │     ├─ PlayClient.js
   │     ├─ PlayLocalStorageClient.js
   │     ├─ PlayLocalStorageClient.spec.js
   │     ├─ PlayRestClient.js
   │     └─ PlayRestClient.spec.js
   ├─ components/
   │  └─ icons/
   │     ├─ Icon.js
   │     └─ Icon.spec.js
   └─ app/
      ├─ overview/
      │  ├─ Overview.js
      │  ├─ Overview.spec.js
      │  ├─ Item.js
      │  └─ Item.spec.js
      ├─ detail/
      │  ├─ Detail.js
      │  └─ Detail.spec.js
      ├─ create/
      │  ├─ Form.js
      │  ├─ Form.spec.js
      │  ├─ TitleInput.js
      │  ├─ TitleInput.spec.js
      │  ├─ PhotoInput.js
      │  ├─ PhotoInput.spec.js
      │  ├─ […]
      │  ├─ RatingInput.js
      │  └─ RatingInput.spec.js
      └─ edit/
         ├─ Form.js
         ├─ Form.spec.js
         ├─ PlayerInput.js
         └─ PlayerInput.spec.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment