Coder Social home page Coder Social logo

hyper-bank's Introduction

Hyper Bank

Build Status

Description


Simple NodeJS project with tests and CI/CD.

Structure


.
├── bin/
│   └── www
├── config/
│   ├── environments/
│   │   ├── development.js
│   │   └── production.js
│   └── index.js
├── controllers/
│   ├── account.controller.js
│   └── customer.controller.js
├── infra/
│   └── logging/
│       └── logger.js
├── routes/
│   └── index.js
├── logs/
├── services/
│   ├── account.service.js
│   ├── customer.service.js
│   └── transaction.service.js
├── tests/
│   └── routes.tests.js
├── .eslintrc.js
├── .gitignore
├── .travis.yml
├── app.js
├── LICENSE
├── package-lock.json
├── package.json
└── README.md

Installation


Hyper Bank requires Node.js v10.16.0+ to run.

Install the dependencies and start the server.

For development environments...

$ cd hyper-bank
$ npm install
$ NODE_ENV=development npm start

Default development port is 3000.

For production environments...

$ NODE_ENV=production && PORT={PORT} npm start

Testing


Jest testing command.

NODE_ENV={environment} && PORT={PORT} npm test

Linting


To run ESlint.

npm run lint

Postman Docs


You can find latest Postman Docs with requests from this link

CI/CD


CI => Travis CI

Hyper Banks uses Travis CI for continuous integration. Details

Travis CI is a hosted continuous integration service used to build and test software projects hosted at GitHub.

- Source Stage

If any commits to master branch this stage will triggered.

Source

Future Improvements


  • In-memory database implementation (can be with mongoose)
  • Database migrations
  • AWS CloudFormation Templates for CD part of the pipeline
  • DI with Awilix
  • Error notifications for the container running on AWS ECS Fargate, using AWS CloudWatch and AWS SNS
  • Security Improvements

Tech


Hyper Bank uses a number of open source projects to work properly:

License


Unlicense

hyper-bank's People

Contributors

dependabot[bot] avatar trasherdk avatar volkancoskun avatar

Watchers

 avatar  avatar  avatar

hyper-bank's Issues

Ping

Create IMAP folder.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.