strapi /
strapi
🚀 Strapi is the leading open-source headless CMS. It’s 100% JavaScript/TypeScript, fully customizable, and developer-first.
89/100 healthLoading repository data…
PachavaNaveena / repository
Rest API for Banking application to perform basic CRUD operations which includes Registration, Login API, Online transfer using Express and Nodejs
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
This is a nodejs app that performs simple banking operations using MySql as database. The Banking node app library allows you to create, read, update users and does payments with the Banked API. All of the methods return a promise (sourced from the axios client).
Firstly, Create .env file in the root directory and copy/paste content from example.env into .env
npm install && npm start
POST - /user/login
{
"email": "admin@gmail.com",
"password": "password"
}
{
"message": "Login successful",
"token": "YWRtaW5AZ21haWwuY29tOnBhc3N3b3Jk"
}
POST - /user
{
"firstname": "Naveena",
"lastname" : "Pachava",
"email" : "admin@gmail.com",
"address1" : "108 blvd",
"address2" : "luna rd",
"city" : "phenoix",
"state": "Arizona",
"zipcode":"345678",
"password":"password"
}
{
"id": "812012cb-6191-4353-b3d2-8626d1628b5c",
"firstname": "Naveena",
"lastname": "Pachava",
"email": "admin@gmail.com",
"address1": "108 blvd",
"address2": "luna rd",
"city": "phenoix",
"state": "Arizona",
"zipcode": 345678,
"balance": 0,
"createddate": "2023-04-24T04:34:53.000Z",
"updateddate": "2023-04-24T04:34:53.000Z",
"password": "password"
}
GET - /user/name/naveena
Authorization: Basic YWRtaW5AZ21haWwuY29tOnBhc3N3b3Jk
[
{
"id": "2",
"firstname": "naveena",
"lastname": "P",
"email": "nav@gmail.com",
"address1": "aspin",
"address2": "null",
"city": "dallas",
"state": "TX",
"zipcode": 76224
},
{
"id": "812012cb-6191-4353-b3d2-8626d1628b5c",
"firstname": "Naveena",
"lastname": "Pachava",
"email": "admin@gmail.com",
"address1": "108 blvd",
"address2": "luna rd",
"city": "phenoix",
"state": "Arizona",
"zipcode": 345678
}
]
PATCH - /transaction/deposit
Authorization: Basic YWRtaW5AZ21haWwuY29tOnBhc3N3b3Jk
{
"amount": 170
}
{
"message": "successfully deposited & user ID: 1711ca8c-9ece-482e-92a1-a8cc448e45a9 with current balance 754535"
}
PATCH - /transaction/transfer
Authorization: Basic YWRtaW5AZ21haWwuY29tOnBhc3N3b3Jk
{
"amount": 100,
"id":"f0d20dd2-db42-4d58-8956-bc5fffdbbe57"
}
{
"message": "100 successfully debited from kavya with ID:1711ca8c-9ece-482e-92a1-a8cc448e45a9 to sunder with ID:f0d20dd2-db42-4d58-8956-bc5fffdbbe57 & CURRENT BALANCE:754415"
}
Selected from shared topics, language and repository description—not editorial ratings.
strapi /
🚀 Strapi is the leading open-source headless CMS. It’s 100% JavaScript/TypeScript, fully customizable, and developer-first.
89/100 healthwaylaidwanderer /
A client implementation for ChatGPT and Bing AI. Available as a Node.js module, REST API server, and CLI app.
90/100 healthOvi /
DummyJSON.com provides different types of REST Endpoints filled with JSON data which you can use in developing the frontend with your favorite framework and library without worrying about writing a backend.
82/100 healthswagger-api /
Javascript library to connect to swagger-enabled APIs via browser or nodejs
89/100 healtheykrehbein /
⚡️ CI-ready tests for REST APIs configured in YAML
32/100 healthmaitraysuthar /
A boilerplate for REST API Development with Node.js, Express, and MongoDB
85/100 health