Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chengkangzai/eatwhat
A single page serverless web application created with Ionic + Angular + Firebase to help user to decide what to eat. Avilable in Play Store
https://github.com/chengkangzai/eatwhat
angular capacitor firebase ionic ionic5
Last synced: 24 days ago
JSON representation
A single page serverless web application created with Ionic + Angular + Firebase to help user to decide what to eat. Avilable in Play Store
- Host: GitHub
- URL: https://github.com/chengkangzai/eatwhat
- Owner: chengkangzai
- Created: 2020-04-29T12:31:37.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-06-11T01:48:51.000Z (7 months ago)
- Last Synced: 2024-06-11T03:33:43.187Z (7 months ago)
- Topics: angular, capacitor, firebase, ionic, ionic5
- Language: TypeScript
- Homepage: https://what-to-eat-huh.web.app/
- Size: 6.1 MB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# What To Eat Huh ?
What To Eat huh is an web application that helps user to decide what food to eat today.
## Getting Started
Since this application is build by using [Ionic](https://github.com/ionic-team/ionic-framework) and [Angular](https://github.com/angular/angular), please make sure you installed them before hand like so:```sh
npm install -g @ionic/cli
npm install -g @angular/cli
```
After that, to install the dependencies,```sh
yarn install
```
OR```sh
npm install
```After install ionic and angular, you need to copy your firebase config to enviroment file like so :
```sh
cd whattoeat\src\environments
cp environment.example.ts environment.prod.ts
cp environment.example.ts environment.ts
```Open your favourite editor to paste your config from [Firebase](https://console.firebase.google.com/u/0/project/) under Project setting --> Config
You can serve the application using ionic like so :
```sh
ionic serve
```
OR serve it in angular way
```sh
ng serve
```
OR launch as a mobile view
```sh
ionic serve -l
```The possibilities are endless.
### Building the Application
So far this app only support web and android version, so to build an web just need to do like so :
```sh
ionic build web
```
OR you want to build android app (You need to install android studio beforehand [here](https://developer.android.com/studio/) )
```sh
ionic cap build android
```### Deploying
As this website is powered by firebase, hence using firebase hosting has come to normal.
To deploy this website, you need to install firebase cli beforehand like so :
```sh
npm install -g firebase-tools
```If you are new to firebase, please feel free to read their documentation to know more about firebase [Firebase Documentation](https://firebase.google.com/docs/web/setup)
## Contributing
Any Contribution is welcomed