🔥 Firebase Expenses Manager :React 16.12 , Firebase 7.6.1 , Bootstrap 4 , Babel 7.8.3 , WebPack 4.41.5
Expenses | Add Expense |
---|---|
|
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
) :
2 To run the application on production mode i have used Heroku .
You have to install Heroku Cli
You have to login with heroku cli :
heroku login
Create app in heroku :
heroku create my-app-name-here
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
```
There you got a new remote for Heroku from now and then you can just use :
git push heroku master
You can view your app remote url in console or in the Heroku Dashboard :
3 To run the application with tests
//TODO not yet ready
As database we are using Firebase . We are having two seperate databases ,
one for testing
and one for development/production
.
You can see the credentials at : .env.development
and .env.test
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 ?
.env.development
or .env.test
file :Firebase (7.6.1) Link
Babel (7.8.1) Link
React (16.12) Link
Webpack (4.41.5) Link
Bootstrap (4) Link
SCSS (6.0.0) Link