Expense Tracker is a simple RESTful web application built with Node.js, Express, and mongoDB for users to track daily expenses.
This project is Live on: https://sleepy-cliffs-84117.herokuapp.com/
You can use the default accounts below, register an account, or use your Facebook/Google account to login.
email: [email protected]/[email protected]
password: 12345678
After login, users can:
$ git clone https://github.com/ivyhungtw/expense-tracker.git
$ cd expense-tracker
$ npm install
To properly use the app and Facebook login feature, make sure you have filled out the following information in .env file.
You can get your own Facebook id and secret on Facebook Developers.
FACEBOOK_ID=<Your Facebook app ID>
FACEBOOK_SECRET=<Your Facebook app secret>
FACEBOOK_CALLBACK=http://localhost:3000/auth/facebook/callback
SESSION_SECRET=ThisIsMySecret
MONGODB_URI=mongodb://localhost/todo-list
PORT=3000
To have default users, categories, and records set up, run the following script.
$ npm run seed
If you have installed nodemon, run the following script.
$ npm run dev
or just run:
$ node app.js
The server will start running on http://localhost:3000/