Skip to content

Budgeting web-app back-end (REST API) featuring session authentication, data validation, CRUD functionality, and reporting.

Notifications You must be signed in to change notification settings

bclewi/budgetfree-back-end-node-postgres

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

BudgetFree

Budgeting web-app back-end (REST API) built with PostgreSQL/Sequelize, Express/Node/NPM, and ES6 JavaScript. Features session authentication, data validation, CRUD functionality, and reporting. Developed, documented, and presented for capstone project.

Local Install and Config for Developers

  1. Install npm and postgreSQL on your local machine.

  2. Clone this repo: git clone https://github.com/bclewi5555/budget-free.git

  3. Navigate to the server directory

  4. Create a new environment config file named .env with the contents below, replacing secret with your actual postgres user password and session secret.

PORT=4000
REACT_APP_PORT=3000
NODE_ENV=development

PGPORT=5432
PGUSER=postgres
PGHOST=localhost
PGDATABASE=budgetfree
PGPASSWORD=secretpassword

SESSION_LIFETIME=3600000
SESSION_SECRET=secret

SESSION_STORE_CLEANUP_INTERVAL=900000
SESSION_STORE_EXPIRATION=86400000

PASSWORD_HASH_SAMPLE=<Redacted Sample Hash For Sample User>
  1. Start up an empty PosgreSQL database named budgetfree from the default user (postgres) on the default port (5432)

Launch App for Local Development

npm run start

Project Vision

This project will be a free, open-source, and secure web-based application which can be run from a compatible browser on any device. The app will adopt the envelope system budgeting strategy (as opposed to “set and forget”) in order to empower users to better understand and control their finances. Users can organize monthly budgets with categories (Income, Food, Utilities, etc.), each customizable with a list of subcategories, also known as envelopes (Power, Water, Internet, ...) which transactions can be added to. Budget owners can invite others to join their budget and revoke shared access at any time, create dependent collaborators (children for example) as well as import or export their budget data.

About

Budgeting web-app back-end (REST API) featuring session authentication, data validation, CRUD functionality, and reporting.

Topics

Resources

Stars

Watchers

Forks