Skip to content

halv00rsen/today-i-learned

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Today I learned

Integrations Tests

Production build and deploy

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.

Presentation

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.

Todo

  • Add warning when trying to exit site to another web page (url)
  • Write automated tests with cypress