A simple ledger to keep your finances in check!
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
controllers
dist
models
public
scripts
src
test
.gitignore
.sample.env
LICENSE
README.md
package.json
server.js
webpack.config.js
yarn.lock

README.md

Ledger

A simple ledger to keep track of moneys

Requirements

Setup

  1. git clone https://github.com/ericyd/ledger.git
  2. cd ledger
  3. npm install: install dependencies
  4. npm run build: build the src files into assets
  5. npm start: start up the server
  6. Open your browser to localhost:5000 and try out the app

Production use

Heroku is a cool way to host.

  1. Set up a project
  2. Find a mongodb host, such as Mongo Atlas or mlab
  3. Set up your .env file with the info for your database. Follow the details in the .sample.env included in this repository
  4. npm run build:prod
  5. Push it up to heroku
  6. In Heroku, set up your config vars to be the same as your .env vars

Security

This application uses passportjs and JSON web tokens to handle user authentication. It uses bcrypt for password encryption.

I am not trained in web security. Any recommendations on authentication or encryption procedures used in this app are appreciated.

Dev guide