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

Add vite #108

Merged
merged 12 commits into from
Jun 23, 2024
Merged

Add vite #108

merged 12 commits into from
Jun 23, 2024

Conversation

campos20
Copy link
Member

No functionality change.

Actually, just a small functionality change. We don't rely on the BE anymore to get the redirect URI. This will probably speed up login time.

README.md Outdated
Copy link
Member

Choose a reason for hiding this comment

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

Why are you dropping some of the instructions here without any replacement?

Copy link
Member Author

Choose a reason for hiding this comment

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

To run the FE only, we are pointing to the prod version. So, it is very simple to run npm install and then npm start. The whole docker setup needed a lot of adjustments about the database dump. Do you think it is still worth it? I can put it back and adjust the Dockerfile to use vite.

.github/workflows/fronttest.yaml Outdated Show resolved Hide resolved
client/.gitignore Show resolved Hide resolved
"typescript": "^4.1.2",
"web-vitals": "^1.0.1"
},
"version": "0.0.0",
Copy link
Member

Choose a reason for hiding this comment

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

Why reset to 0.0.0 if it was 0.1.0

Copy link
Member Author

Choose a reason for hiding this comment

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

Vite again. Also, this is not used.

@@ -1,7 +1,7 @@
export default interface Result {
end: Date;
end: string;
Copy link
Member

Choose a reason for hiding this comment

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

Why?

rank: number;
start: Date;
start: string;
Copy link
Member

Choose a reason for hiding this comment

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

Why?

Copy link
Member Author

Choose a reason for hiding this comment

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

Just making typescript happy. Also, this is display only.

image

Copy link
Member

Choose a reason for hiding this comment

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

Why is this entirely commented out?

Copy link
Member Author

Choose a reason for hiding this comment

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

Because it is not currently working. We need to add vitest and make some adjustments.

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed

Copy link
Member

Choose a reason for hiding this comment

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

Why are you deleting the whole Docker Compose setup?
Does Vite not support running with Docker?!

Copy link
Member Author

Choose a reason for hiding this comment

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

Vite supports it. Same as above about docker.

@campos20 campos20 merged commit c86d6a3 into thewca:main Jun 23, 2024
1 check passed
@campos20 campos20 mentioned this pull request Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants