Skip to content

freshBudgets/backend

Repository files navigation

FreshBudgets

Instructions / notes for running and testing the backend server

Links

Prerequisites

Before running the server

npm install

Installing

Installing npm packages

npm install <package name> 

To save the node package to package.json

npm install --save <package name>

Running the server locally

To run the server locally, within backend/

node app.js

Now you can test GETs, POSTs, etc. with Postman

Testing with Postman

First run the server locally. Within Postman set the requrest url to

localhost:5000/api/...

Replace ... with whatever route you wish to access. If sending a POST, the contents sent are in the Body section. Tokens go in the header.

Make sure that when you are sending a POST request, in the Body section, choose x-www-form-urlencoded and enter the body keys and values there.

About

Budgeting webapp utilizing SMS to help track finances

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •