https://github.com/goxr3plus/expentour
🔥 Firebase Expenses Manager :React 16.12 , Firebase 7.6.1 , Bootstrap 4 , Babel 7.8.3 , WebPack 4.41.5
https://github.com/goxr3plus/expentour
babel bootstrap es6 firebase modern-ui react webpack
Last synced: about 1 year ago
JSON representation
🔥 Firebase Expenses Manager :React 16.12 , Firebase 7.6.1 , Bootstrap 4 , Babel 7.8.3 , WebPack 4.41.5
- Host: GitHub
- URL: https://github.com/goxr3plus/expentour
- Owner: goxr3plus
- Created: 2019-08-12T12:19:22.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-08-17T20:06:47.000Z (almost 6 years ago)
- Last Synced: 2025-03-31T02:13:16.089Z (about 1 year ago)
- Topics: babel, bootstrap, es6, firebase, modern-ui, react, webpack
- Language: JavaScript
- Homepage: https://expentour.herokuapp.com/
- Size: 2.93 MB
- Stars: 9
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### [](https://www.minepi.com/AlexKent) Support me joining PI Network app with invitation code [AlexKent](https://www.minepi.com/AlexKent) [](https://www.minepi.com/AlexKent)
---
Expentour ( Demo )
Calculate Expenses
---
| Expenses | Add Expense
|:-:|:-:|
|  | 
|
# How start the application
1 To run the application locally in development you can use :
> npm run start_local
It will actually start `webpack-dev-server` on the port `9000` (which you can convfigure through `wepack.config.js`) :
> http://127.0.0.1:9000/
2 To run the application on production mode i have used [Heroku](https://dashboard.heroku.com/) .
## Tutorial on how to deploy in Heroku
1. You have to create an account.

2. You have to install [Heroku Cli](https://devcenter.heroku.com/articles/heroku-cli)
3. You have to login with heroku cli :
`heroku login`
4. Create app in heroku :
`heroku create my-app-name-here`
5. Set Heroku Environment keys (copy pasta from `.env.development`) comma separated us you can see in the picture below :
```
//Pattern
heroku config:set KEY=VALUE
```

6. There you got a new remote for Heroku from now and then you can just use :
`git push heroku master`
7. You can view your app remote url in console or in the Heroku Dashboard :

8. Visit the site and get excited [Expentour](https://expentour.herokuapp.com/)
3 To run the application with tests
> //TODO not yet ready
## Tutorial for Firebase
As database we are using [Firebase](https://firebase.google.com/) . We are having two seperate databases ,
one for [`testing`](https://github.com/goxr3plus/Expentour/blob/0ecc5a62b107885220f4052a0acabc1f840cdc7a/.env.test#L9) and one for [`development/production`](https://github.com/goxr3plus/Expentour/blob/0ecc5a62b107885220f4052a0acabc1f840cdc7a/.env.development#L8) .

You can see the credentials at : [`.env.development`](https://github.com/goxr3plus/Expentour/blob/0ecc5a62b107885220f4052a0acabc1f840cdc7a/.env.development#L8) and [`.env.test`](https://github.com/goxr3plus/Expentour/blob/0ecc5a62b107885220f4052a0acabc1f840cdc7a/.env.test#L9) i left intetionally there working keys so you can run your app locally.
How you can get your own firebase api keys for your own project ?
1. Create Google Account and go to Firebase
2. Add a Project (ex. MyAwesomeProject )
3. For that project add an new web app so you can get keys :

4. Then there your have your new credentials which you can add on the [`.env.development`](https://github.com/goxr3plus/Expentour/blob/0ecc5a62b107885220f4052a0acabc1f840cdc7a/.env.development#L8) or [`.env.test`](https://github.com/goxr3plus/Expentour/blob/0ecc5a62b107885220f4052a0acabc1f840cdc7a/.env.test#L9) file :

5. You are ready .
# Technologies used
> Firebase (7.6.1) [Link](https://github.com/firebase/firebase-js-sdk)
> Babel (7.8.1) [Link](https://github.com/babel/babel)
> React (16.12) [Link](https://github.com/facebook/react)
> Webpack (4.41.5) [Link](https://github.com/webpack/webpack)
> Bootstrap (4) [Link](https://react-bootstrap.github.io/getting-started/introduction/)
> SCSS (6.0.0) [Link](https://github.com/sass/sass)