GithubHelp home page GithubHelp logo

fegoworks / ewallet-api Goto Github PK

View Code? Open in Web Editor NEW
9.0 3.0 3.0 1.07 MB

A simple wallet REST API to allow customers pre-load their wallet from their Debit cards and transfer virtual money as a gift to other customers within the platform

License: MIT License

JavaScript 84.03% API Blueprint 15.97%
express nodejs postgre sequelize es2017

ewallet-api's Introduction

eWallet API

CI codecov

A simple wallet REST API to allow customers pre-load their wallet from their Debit cards and transfer virtual money as a gift to other customers within the platform

Table of Contents

Getting Started

This is a backend javascript application built with Node JS using Express framework. The application runs on a PostgreSQL database and is live on heroku -ewallet-api

Technology Stack

Server Side

  1. NodeJS
  2. Express FrameWork
  3. PostgreSQL
  4. Sequelize

Installation

  1. Install Node JS.

  2. Clone the repository here

  3. [cd] into the root of the project directory.

  4. Run npm install on the terminal to install project dependecies

  5. Create a .env file in the root directory of the application. Example of the content of a .env file is shown in the .env.sample

  6. Start the application: Different Build Environments

Production

npm run start

Development

npm run start:dev

Testing

Sever side tests - Run npm test on the terminal while within the project root directory.

Server side testing is achieved through use of chai-http, mocha and chai packages. chai-http is used to make requests to the api and mocha is the testing framework and chai is the exception library. They will both be installed when you run npm install and the tests will run when you run npm test.

API Endpoints

Please view API Documentation here

Questions

For more details contact [email protected]

Support or Contribution

For any suggestions or contributions or issues please do raise them or email me. For Contributions, Please clone the repo and implement a PR I would appreciate it

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.