diff --git a/.vscode/settings.json b/.vscode/settings.json index d77cd33..3a8578d 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,4 +1,10 @@ { "editor.formatOnSave": true, - "editor.rulers": [100] + "editor.rulers": [100], + "files.associations": { + ".env.example": "properties" + }, + "files.insertFinalNewline": true, + "files.trimTrailingWhitespace": true, + "git.autofetch": true, } diff --git a/README.md b/README.md index 8644493..41a6ed8 100644 --- a/README.md +++ b/README.md @@ -5,9 +5,12 @@ Originally developed by annaleigh, austin, clem, culi, daniella. ## requirements * `npm` +* `vite` ## technology -this ancient front-end was made with create-react-app. it does not utilize typescript but is moving towards type safety with js-docs which [is a full-featured alternative to typescript](https://github.com/sveltejs/kit/discussions/4429#discussioncomment-2423814) that runs on the same engine! +this ancient front-end was originally made with create-react-app. in october 2024 it was updated to use vite. + +it does not utilize typescript but is moving towards type safety with js-docs which [is a full-featured alternative to typescript](https://github.com/sveltejs/kit/discussions/4429#discussioncomment-2423814) that runs on the same engine! ## setup 0. clone down (`git clone git@github.com:openbookbook/bookbook-web.git`) and `cd ./bookbook-web` @@ -15,7 +18,7 @@ this ancient front-end was made with create-react-app. it does not utilize types 2. install dependencies with `npm i` 3. start the local server with `npm start` -## useful resources +## useful development resources **react** - [usehooks.com](https://usehooks.com/) - [component.gallery](https://component.gallery/) diff --git a/TODO.md b/TODO.md index ee81e6d..1e72aaf 100644 --- a/TODO.md +++ b/TODO.md @@ -1,7 +1,7 @@ - [x] Stop spamming Google Books. Rebounce and maybe get an actual API_KEY - [ ] Update to newest react-router version -- [ ] Eject create-react-app +- [x] Eject create-react-app and migrate to Vite - [ ] Move styling to `styled-components` - [ ] Allow voters to add a password - [ ] Consolidate input styling. Placeholder floats to label. diff --git a/public/index.html b/index.html similarity index 63% rename from public/index.html rename to index.html index 5953cc0..9ebaa6e 100644 --- a/public/index.html +++ b/index.html @@ -3,27 +3,19 @@
- + - + - - +