Skip to content

Repository files navigation

Restaurant List

A simple web application for tracking daily expense

listening page

Features

  • login with GOOGLE or register account by email and password both of which are necessary
  • each user has own expense list
  • Search expense by category
  • create / delete / edit a expense

Getting started

1.Prepare node.js and npm first

2.Make sure in the directory and use local terminal :

npm install

3.Use Sequelize as ORM to manage MySQL

npx sequelize db:create
npx sequelize db:migrate
  1. Setup ENV under .env.example file
SESSION_SECRET=
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET= 
GOOGLE_URL= http://localhost:3000/oauth2/google/callback

5.Check environment variable NODE_ENV=development or ignore this step if under MAC/Linux systems

6.Then,

npm run seed
npm run start

4.Application is running successfully when you see

http://localhost:3000

5.Application can be paused by

ctrl + c

Development Environment

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages