Support me joining PI Network app with invitation code AlexKent
Expentour ( Demo )
Calculate Expenses
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 create an account.
-
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 :
- Visit the site and get excited Expentour
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 ?
- Create Google Account and go to Firebase
- Add a Project (ex. MyAwesomeProject )
- For that project add an new web app so you can get keys :
- Then there your have your new credentials which you can add on the
.env.development
or.env.test
file :
- You are ready .
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