A Progressive Web App to collect, categorise and share recipes. The project serves as playground for upcoming, exciting web standards. So don't expect it to work in IE11 😱. This can easily be deployed to a new Firebase project. If you need help with that feel free to contact me. The extensive usage of firestore security rules combined with custom claims (JWT) enables user administration
- clone this repo
- install nodejs
- install vs code and the following plugins: (1), (2), (3)
- navigate into the root dir of the cloned repo and
npm install
via your prefered shell - to start the webapp run
npm start
wip
- https://docs.google.com/spreadsheets/d/1heY9iIOZixZRMYhq6JMEn8OaiBvwpGnqNuQkd0LpFt8/edit?usp=sharing
- run
firebase:emulators:start
. This will start the emulators und sync data from./emulators-data
- if stopping and restarting does not work because of blocked ports consider killing it
lsof -i tcp:<PORT>
,kill -9 <PID>
- for every role in this app (user, editor, admin) there's a user. PW and identifier (email) are the same
- working on functions: for every change needs a
tsc
- working on the app: algolia is disabled
Firebase offers the possibility to deploy preview versions on separate preview channels. An example for a channel ID is my_new_test_feature
. For more information read the firebase docs.
- to build the project run
npm run build
- to start the preview hosting run
firebase hosting:channel:deploy YOUR_CHANNEL_ID
- access your project on the generated preview URI
export VERSION=$(git rev-parse --short HEAD) && npm run build && firebase deploy --only hosting --message $VERSION