ClaytonNolen / GymIsland-2024CSC

0 stars 0 forks source link

Getting Svelte code working with repository #7

Open Daniel-Haley opened 8 months ago

Daniel-Haley commented 8 months ago

Initial Svelte project has been created in VS Code but figuring out how to move the code and be able to branch it from our repository.

crowleyk1 commented 8 months ago

Couldn't figure out how to push vs code to our git hub repository. S.O.S.

crowleyk1 commented 7 months ago

Got VS connected with Github.

crowleyk1 commented 7 months ago

Created new template in order to get svelte files to work and copied over code from previous template.

Daniel-Haley commented 7 months ago

Doing more research on how to use Svelte for our front end.

Daniel-Haley commented 7 months ago

Watching this Youtube video to help explain the process: https://www.youtube.com/watch?v=3Q4fK1NdNMQ

Daniel-Haley commented 7 months ago

Created a doc for tracking notes from the videos in the Drive. Reviewing Svelte project code that Kiefer added

Daniel-Haley commented 7 months ago

Updating progress on the doc called "Svelte Video Notes" and placed it in the "Hit by Bus" folder because it is an essential connection for our app. Creating files based on the YouTube video and keeping more specific details on the doc

Daniel-Haley commented 7 months ago

Database appears to be connected to the Firebase database after installing the database again. Will need to do further testing that this is accurate.

Daniel-Haley commented 7 months ago

Determining which files from original svelte code need to be kept or deleted. When running a build of the project there are a couple 404 page not found errors that I am currently looking at.

Daniel-Haley commented 7 months ago

Deleted the "About" files which appears to be where the missing paths came from. Svelte left a message in the terminal after running "npm run preview" that said "Could not detect a supported production environment. See https://kit.svelte.dev/docs/adapters to learn how to configure your app to run on the platform of your choosing". Will look more into these environments

Daniel-Haley commented 7 months ago

Added adapter-node to the project to be able to configure with Node. https://kit.svelte.dev/docs/adapter-node This video includes more details about how to work with SvelteKit and Firebase: https://www.youtube.com/watch?v=TIbL0VOE900&t=391s

jedace commented 7 months ago

Following steps to see if reconnecting database can be replicated

Daniel-Haley commented 7 months ago

Reviewed code and gaining a better understanding of how files interact. Doesn't appear to be any errors. Will talk with the team tomorrow about pushing the code to the repository.

jedace commented 7 months ago

Still cannot get success message after launching database. Tried various adding and removing various packages and above solutions

Daniel-Haley commented 7 months ago

Determining what files to add to test database function from this video: https://www.youtube.com/watch?v=3Q4fK1NdNMQ

Daniel-Haley commented 7 months ago

@ClaytonNolen @jedace Video mostly pertains to working with the database only. I will be pivoting to more research on how to make the front end portion look better and provide input places.