Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: change folder name #118

Merged

Conversation

Caixetadev
Copy link
Collaborator

@Caixetadev Caixetadev commented Jan 26, 2024

This code has an error and probably won't run, I need you to do some tests after merging

This code in the backend/internal/router/router.go path is giving an error, reason: it is not finding the module github.com/kevinanielsen/go-fast-cdn/frontend.
I need you to go into the backend folder and run the command go get github.com/kevinanielsen/go-fast-cdn/frontend If you get an error, run this go get github.com/kevinanielsen/go-fast-cdn/frontend@development
image

@kevinanielsen kevinanielsen added docs Improvements or additions to documentation api Improvements or additions to the api go Language: Go labels Jan 26, 2024
@kevinanielsen
Copy link
Owner

While changes to the folder structure are needed to use best practices, I don't agree with this folder structure. There should not be definitive backend/ and frontend/ folders. Take a look at the folder structure of https://github.com/pocketbase/pocketbase and their use of the ui/ directory

@Caixetadev
Copy link
Collaborator Author

I understand, we have to see which pattern you want to follow. I'll send some repo:

terraform
permify
an example of monolith
steam pipe
project layout

Looking at these examples there really is no backend inside the backend folder

@kevinanielsen
Copy link
Owner

These patterns I like a lot.

@Caixetadev
Copy link
Collaborator Author

Do you want to keep the ui or website?

@kevinanielsen
Copy link
Owner

ui would be best

WallysFerreira and others added 10 commits January 28, 2024 16:17
* feat: add property 'multiple' to file input

* feat: sends multiple documents or images to api

* fix: show icon for each file being uploaded

* fix: refresh page after uploading all files

* chore: add semicolons

* fix: cards overflow

* chore: add EOF

* fix: prevent file name overflow in card

Co-authored-by: Kevin Nielsen <[email protected]>

* chore: fix indentation

---------

Co-authored-by: Kevin Nielsen <[email protected]>
* Update handleImageResize.go

* fix: successfully typo
Copy link
Owner

@kevinanielsen kevinanielsen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! I apologize for the long wait on me getting back to you.

@kevinanielsen kevinanielsen merged commit c57e963 into kevinanielsen:development Jan 30, 2024
1 check passed
@Caixetadev Caixetadev deleted the refactor/page-structure branch January 30, 2024 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Improvements or additions to the api docs Improvements or additions to documentation go Language: Go
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants