-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Finally ditching create-react-app. The migration was actually pretty straightforward. I also removed some unrelated testing libraries and updated some documentation
- Loading branch information
Showing
10 changed files
with
4,593 additions
and
33,504 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,17 +5,20 @@ 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 [email protected]:openbookbook/bookbook-web.git`) and `cd ./bookbook-web` | ||
1. copy any environmental variables with `cp .env.example .env` | ||
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/) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.