Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/popuguytheparrot/feather-structure

🧾These are thoughts how to build and maintenance applications
https://github.com/popuguytheparrot/feather-structure

guide project-management project-structure project-template suggestions

Last synced: 27 days ago
JSON representation

🧾These are thoughts how to build and maintenance applications

Awesome Lists containing this project

README

        


feather

# Feather Structure

## Схема

```
├── docs
├── public
├── src/
│ ├── api
│ ├── constants
│ ├── features
│ ├── lib
│ ├── pages
│ ├── theme
│ ├── index.js
│ ├── index.html
│ └── App.js
└── файлы конфигураций, README и т.д
```

## Описание

### api
Директория с функциями делающие ajax-запросы.
Организовать эти функции можно по `endpoint` вашего `rest api`
Например:
```
├── api
├── profile // /api/v1/profile
├── index.js // В index.js можно записать все функции взаимодействующие с endpoint.
// Либо создавать под каждую функцию отдельный файл.

```
```js
// index.js

export function getUserInfo() {}

export function saveUserInfo() {}
```

### constants
### configs
### features
### lib
### pages
### theme