Skip to content

ytaloz/node-bank

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Size Limit example

A Nubank API in NodeJS

RoutesHow To UseCredits

Routes

  • POST /user/:token send a json
{
	"cpf": "__cpf",
	"pass": "__pass"
}

and get the token in access_token

{
    "response": {
        "access_token": "__token",
        "token_type": "bearer",
...        
  • GET /bill/:token
{
   "data": {
       "return your bills"
   }
}
  • GET /purchases/:token
{
   "data": {
       "return your purchases"
   }
}
  • GET /me/:token
{
   "data": {
       "return your resumed info"
   }
}
  • GET /account/:token
{
   "data": {
       "return your complete info"
   }
}
  • GET /events/:token
{
   "data": {
       "return your events"
   }
}

How To Use

To clone and run this application, you'll need Git and Node.js (which comes with npm) installed on your computer. From your command line:

# Clone this repository
$ git clone https://github.com/nulldreams/node-bank.git

# Go into the repository
$ cd node-bank

# Install dependencies
$ npm install

# Run the app
$ npm start

Credits

This software uses some open source packages.

Working on your first Pull Request? You can learn how from this free series How to Contribute to an Open Source Project on GitHub


GitHub @nulldreams  · 

About

A Nubank API in NodeJS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%