项目作者: ngocsotn

项目描述 :
E-bank server-side with nodeJS, postgresql, express
高级语言: JavaScript
项目地址: git://github.com/ngocsotn/ebank-backend.git
创建时间: 2020-11-23T15:23:54Z
项目社区:https://github.com/ngocsotn/ebank-backend

开源协议:

下载


Whitefoo Bank API

This project was generated with npm version 6.14.4, Nodejs version 12.18.0.

Front-end repository: web2-2020c

Development server

Run npm start to start the server once. Navigate to http://localhost:3000/.

Run npm run dev to start the dev server. Navigate to http://localhost:3000/. The app will automatically reload if you change any of the source files.

Folders structure

[VI]

  1. - thư mc constants: khai báo các biến c định hoc mng c định mun mc định gì đó, cũng có th là arr thông báo li, 1 s slogans, Regex pattern....
  2. - thư mc helpers: cha các hàm x lý ngoài: ép kiu ngày tháng, ct chui theo nhu cu, các hàm random(string,number),mã hóa ngoài, x lý Regex...
  3. - thư mc middleware, services
  4. - thư mc routes để khai báo dùng hàm nào cho đường dn nào, dn đến thư mc controller.
  5. - thư mc controller để khai báo các hàm s dng routes

[ENG]

  1. - constants folder : contains declaration of fixed arrays , constants , slogans , regular expression patterns ...
  2. - helpers folder : contains utility functions (date time formatting , string processing , randomizing , encrypting , regex handling)
  3. - controllers : contains declaration of functions used in routes folder
  4. - routes folder : routing for function calls ( will be called from controllers )
  5. - middleware folder and service folder : contains utility functions and data fetching

Third party used

Api get exchange rate:
freeforexapi
floatrates
currencyconverterapi

Google reCAPTCHA: reCAPTCHA v2