DzianisBoika / Survey_app

Survey app
1 stars 0 forks source link

Change structure of project #1

Open DzianisBoika opened 1 year ago

DzianisBoika commented 1 year ago
  1. At first you should create 2 folders "server" and "client". And move project to "client" folder.
  2. Investigate diffrent project structures. And change structure

Examples:

  1. https://www.xenonstack.com/insights/reactjs-project-structure
  2. https://blog.webdevsimplified.com/2022-07/react-folder-structure/
  3. https://legacy.reactjs.org/docs/faq-structure.html
  4. https://www.robinwieruch.de/react-folder-structure/

In PR (pull request) you should write why you use this project structure.

ravenishka commented 1 year ago

change structure - done

ravenishka commented 1 year ago
  1. Выделила отдельные папки для стилей и изображений ./Assets/Styles и ./Assets/Images соответственно
  2. Так и не сделала папки клиент и сервер, выдает ошибку
  3. Добавила папку Layouts, в которую поместила jsx файлы: Header, Main, Sider, MainButton и Footer (помню, что надо удалить футер)
  4. Создала папку Routes, пока она пуста