Skip to content

Yunya-Hsu/S3_W2_expense-tracker

Repository files navigation

Features

  • An easy way to track your personal daily spending.
  • User can register and login through account management system (register via email).
  • User is able to review all records at home page.
  • User can create, delete, edit every spending record.
  • Sort by category is supported under home page.
  • User can review total amount of spending at home page.


Getting Started

Prerequisites

Make sure you already have Node.js and npm installed, and have MongoDB account.


Installing

  1. Clone the project
  2. Go to the project directory
  3. Install dependencies
npm install

  1. Prepare your .env file. Please refer to .env.example for more details.

  1. Apply seed data.
npm run seed

  1. Start the server
npm run star

  1. If you see Express is running on localhost:3000 on terminal, it means the server is running successfully and you can enter following url to check this project:
http://localhost:3000

  1. Login test with seed users:
    email: user1@example.com
    password: 12345678

  1. Stop the server
control + c


Tech Stack

  • Node.js
  • Bootstrap ^4.3.1
  • Font Awesome 5.8.1
  • express ^4.16.4
  • express-handlebars ^3.0.0
  • handlebars-helpers ^0.10.0
  • express-session ^1.17.1
  • mongoose ^5.9.7
  • method-override ^3.0.0
  • bcryptjs ^2.4.3
  • connect-flash ^0.1.1
  • dotenv ^8.2.0
  • passport ^0.4.1


My Restaurant List

Home Page

Create Page

Login Page

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published