veritus / veritus-web

Frontend
https://deploy-preview-32--announcer-tachometer-25258.netlify.com/
2 stars 0 forks source link

File restructure #44

Closed Ragnar-H closed 7 years ago

Ragnar-H commented 7 years ago

Closes #40

Status

Ready

Description

Restructures file-structure for more scalable and easier to read project

Current file structure

.
├── App.css
├── App.js
├── App.test.js
├── Components
│   ├── Cases
│   │   ├── Case
│   │   │   └── index.js
│   │   └── CaseCard
│   │       └── index.js
│   ├── Districts
│   │   ├── DistrictCard
│   │   │   ├── index.js
│   │   │   └── stories
│   │   │       └── DistrictCard.stories.js
│   │   ├── DistrictContainer
│   │   │   └── index.js
│   │   └── DistrictList
│   │       └── stories
│   ├── NavBar
│   │   ├── index.js
│   │   └── stories
│   │       └── NavBar.stories.js
│   ├── Parties
│   │   ├── Party
│   │   │   └── index.js
│   │   ├── PartyCard
│   │   │   └── index.js
│   │   └── PartyPromises
│   │       └── index.js
│   ├── Politicians
│   │   ├── PoliticianCard
│   │   │   ├── index.js
│   │   │   └── stories
│   │   │       └── PoliticianCard.stories.js
│   │   ├── PoliticianItem
│   │   │   ├── index.js
│   │   │   └── stories
│   │   │       └── PoliticianItem.stories.js
│   │   └── Politicians
│   │       └── index.js
│   ├── Promises
│   │   ├── PromiseForm
│   │   │   ├── __tests__
│   │   │   │   └── index.test.js
│   │   │   ├── index.js
│   │   │   └── stories
│   │   │       └── PromiseForm.stories.js
│   │   ├── PromiseFormContainer
│   │   │   └── index.js
│   │   ├── PromiseItem
│   │   │   ├── index.js
│   │   │   └── stories
│   │   │       └── PromiseItem.stories.js
│   │   └── PromiseList
│   │       ├── index.js
│   │       └── stories
│   │           └── PromiseList.stories.js
│   └── User
│       ├── LoginContainer
│       │   └── index.js
│       ├── LoginForm
│       │   ├── __tests__
│       │   │   └── index.test.js
│       │   ├── index.js
│       │   └── stories
│       │       └── LoginForm.stories.js
│       ├── SignUpContainer
│       │   └── index.js
│       └── SignUpForm
│           ├── index.js
│           └── stories
│               └── SignUpForm.stories.js
├── Stores
├── index.css
├── index.js
├── logo.svg
├── setupTests.js
├── types.js
└── utils
    ├── __tests__
    │   └── tokenStorage.test.js
    ├── api.js
    ├── promises.js
    ├── testFixtures.js
    └── tokenStorage.js