Skip to content

Food Diary Web Application. Allows you to keep track of calories, and adhere to the selected diet.

License

Notifications You must be signed in to change notification settings

Glajik/diet-routine

Repository files navigation

diet-routine

Food Diary Web Application. Allows you to keep track of calories, and adhere to the selected diet.

Quickstart for Developers

  1. Clone project

  2. Change branch to starter-kit

  3. Install Firebase CLI with emulators - see more

  4. Login

     firebase login
    
  5. 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 instruction

     firebase init
    
  6. Install dependencies

  7. Go to web-client folder

  8. Install dependencies for client (via yarn, not npm)

  9. Build client

  10. Go back to project root folder

  11. Try to start hosting emulator - see more

     firebase serve
    

Should work ;)

Project structure

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

About

Food Diary Web Application. Allows you to keep track of calories, and adhere to the selected diet.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages