Website for writing and editing personal TIL.
Built with Firebase and React with Vite.
To start local web application:
cd frontend && npm run dev
Run firebase emulators:
# Inside root dir
npm run firebase
Auto build functions while developing (must be done first time so functions are built for local testing):
cd firebase/functions && npm run watch
Deploy changes to firestore, hosting or functions:
cd firebase && firebase deploy
For interacting with the admin user scripts:
export GOOGLE_APPLICATION_CREDENTIALS="/home/user/Downloads/service-account-file.json"
For more information, take a look at the documentation.
There is created a presentation using slidev. This is present in the presentation
folder. The presentation can be built using the workflow trigger for the action Build presentation
.
The presentation can be seen here.
- Add warning when trying to exit site to another web page (url)
- Write automated tests with cypress