Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Expenses

license Build Status codecov Dependency Status Donate

Something about the project.

Our Stack

Tools we use

Pre Requirements

  1. NodeJS.
  2. MongoDB.

Installation

Client

  1. Install requirements with npm install (located under client directory).
  2. Run the server with ng start.
  3. Open the browser at http://localhost:4200.

For social login create a .env file in the root of the server directory, and add there all the configuration:

FACEBOOK_APP_ID=12345
FACEBOOK_APP_SECRET=12345
TWITTER_CONSUMER_KEY=12345
TWITTER_APP_SECRET=12345
GOOGLE_APP_ID=12345
GOOGLE_APP_SECRET=12345
GITHUB_APP_ID=12345
GITHUB_APP_SECRET=12345

To see the Google Maps features, add your Google Maps API Key in transactions.module.ts file:

AgmCoreModule.forRoot({
  apiKey: 'YouApiKey'
})

Server

  1. Install requirements with npm install (located under server directory).
  2. Run the server with npm start.
  3. Open the browser at http://localhost:3000.

Tests

Client

  • Run ng test to execute the unit tests via Karma.
  • Run ng e2e to execute the end-to-end tests via Protractor.

Server

  • Run npm run eslint to check for ESLint mistakes.
  • Run npm test to run the integration tests.

Translation

Client

Not yet..

Server

Not yet..

Deploy

Client

  1. Run ng build -prod -aot to build the project.
  2. Run npm run sw to generate the service worker file (in dist directory).

Server

  1. Not yet..
You can’t perform that action at this time.