Food Diary Web Application. Allows you to keep track of calories, and adhere to the selected diet.
-
Clone project
-
Change branch to
starter-kit
-
Install Firebase CLI with emulators - see more
-
Login
firebase login
-
Init Firebase project with exist project
diet-routine
. Refuse to offer to replace any files during the wizard - see section 5. Initialize Firebase project on local PC of this instructionfirebase init
-
Install dependencies
-
Go to
web-client
folder -
Install dependencies for client (via
yarn
, notnpm
) -
Build client
-
Go back to project root folder
-
Try to start hosting emulator - see more
firebase serve
Should work ;)
diet-routine/
├── functions/ <----------- Backend - Cloud functions folder
| ├── node_modules/
| ├── .eslint.json
| ├── .gitignore
| ├── index.js
| ├── package.json
| └── package-lock.json
|
├── web-client/ <---------- Frontend - Web app folder
| ├── build/ <----------- Production build
│ ├── node_modules/
│ ├── public/
│ │ ├── favicon.ico
│ │ ├── index.html
│ │ └── manifest.json
│ ├── src/
│ | ├── App.css
│ | ├── App.js
│ | ├── App.test.js
│ | ├── index.css
│ | ├── index.js
│ | ├── logo.svg
│ | ├── serviceWorker.js
│ | └── setupTests.js
│ ├── README.md
│ ├── package.json
│ ├── package-lock.json
│ └── .gitignore
|
├── .firebaserc
├── .gitignore
├── database.rules.json
├── firebase.json <---------- Firebase configuration file
├── firestore.rules
├── firestore.indexes.json
├── LICENSE
├── README.md
└── storage.rules