Skip to content

iris-beckham/NYT-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Budgeting App

Setup

  1. Clone the front and back ends
mkdir budgeting-app cd $_
git clone https://github.com/iris-beckham/express-server-starter
git clone https://github.com/iris-beckham/budgeting-app-frontend.git
  1. Create an env file for the backend
cd express-server-starter
touch .env
//.env
PORT=3003
PG_HOST=localhost
PG_PORT= #number of your postgres port
PG_DATABASE=budget_dev 
PG_USER=postgres
  1. Make sure that postgres is running
  2. Locally deploy the backend
npm i 
npm run dev
  1. Open a new window or tab in the terminal, and cd into the frontend.
  2. Create a .env file
//.env
VITE_BASE_API_URL = http://localhost:3003
  1. Locally deploy the frontend
npm i 
npm run dev
  1. Go to http://localhost:3000/ (or wherever you opened the port)

Stretch Goals that were Implemented

  • For the edit/create transaction form, all categories and accounts show up as options in the datalist format
  • All dates have been converted in to a more easy to read format

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors