Skip to content

Instantly share code, notes, and snippets.

View PUUZOO's full-sized avatar
Working from home

Stanislav PUUZOO

Working from home
  • Nighniy Novgorod
View GitHub Profile
@PUUZOO
PUUZOO / boundary.md
Created February 14, 2022 15:50
NextJS, fetch, multipart/form-data, missing boundary
View boundary.md

I've faced with issue while proxy http request with multipart form data by NextJS. I have to send file from a client fide to next js, after that - to FastApi service.

The problem was:

 fetch("https://127.0.0.1:3000/api/newfile", {
   method: "POST",
   headers: { "Content-Type": "multipart/form-data" },
   body: new FormData(form)
 });
@PUUZOO
PUUZOO / git-branch-naming.md
Last active January 28, 2020 12:42
I want to suggest using this structure!
View git-branch-naming.md
View designer-tech-task2.md

Пожелания к стеку для верстки

  • cборщик Webpack
  • контроль версий Github (желательно)
  • методология БЭМ
  • препроцессор CSS SCSS
  • CSS фреймворк Bootstrap 4
  • элементы дизайна SVG (обязательно)
@PUUZOO
PUUZOO / designer-tech-task.md
Last active December 13, 2019 14:36
Designer's technical task 2020