Skip to content

popuguytheparrot/feather-structure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

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.
                     // Либо создавать под каждую функцию отдельный файл.
                     
// index.js

export function getUserInfo() {}

export function saveUserInfo() {}

constants

configs

features

lib

pages

theme

About

🧾These are thoughts how to build and maintenance applications

Topics

Resources

Stars

Watchers

Forks