Skip to content

A web app for the users to create their own account and to record the expense

Notifications You must be signed in to change notification settings

ping8601/expense-tracker

Repository files navigation

expense-tracker

A web app for the users to create their own account and to record the expense

Features

  • Users can register with their name, email, and password
  • Users can also choose to register and login with Facebook or Google accounts
  • User can create and manage their expense records
  • Users can edit the detail of the expense records
  • Users can filter the expense records with categories
  • Users can delete the expense records

Website Screenshot

  • Register image
  • Login image
  • Home page image
  • Create new expense records image
  • Edit expense records image

Getting Started

Environment

  • Node.js 16.17.0
  • npm 8.15.0
  • MongoDB

Installation

  1. Open the Terminal and clone the repo
git clone https://github.com/ping8601/expense-tracker/
  1. Use the Terminal to open the folder of the project
cd expense-tracker
  1. Install all the needed package with npm
npm install
  1. Add a file .env and add required environment variables as mentioned in .env.example

  2. Add the seed categories, seed users and seed records

npm run seed
  1. Start the server
npm run start
  1. If you see this message, the server is successfully started
Express is now listening on localhost:3000
  1. Open your brower and enter the link http://localhost:3000 to start exploring the website!

  2. Use this accounts in the seed data to login or create your own acocunt.

email: user1@example.com
password: 12345678
  1. Press control + c to end the server

Development Tools

  • Bcryptjs 2.4.3
  • Bootstrap 5.1.3
  • Connect-Flash 0.1.1
  • Dotenv 8.2.0
  • Node.js 16.7.0
  • Express 4.16.4
  • Express-Handlebars 3.0.0
  • Express-Session 1.17.1
  • Font-awesome 5.8.1
  • Method-Override 3.0.0
  • Mongoose 5.9.7

About

A web app for the users to create their own account and to record the expense

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published