Code Monkey home page Code Monkey logo

demo-credit's Introduction

Demo Credit

Zero Issues Shield GitHub stars

About The Project

This an API built for a demo credit wallet for the Lendsqr backend engineer assessment. Users can deposit, transfer and withdraw funds with a single wallet.

  • View the docs here
  • View the postman collection here

Please Note

  • Transfers have to be done to another user on demo credit
  • To send to users outside demo credit, make a withdrawal of the amount to the users account number

Entity Relation Diagram

ERD Diagram for database.

Built With

Node.js Logo

Getting Started

To get a local copy up and running follow these simple example steps.

Prerequisites

  • Node 18.13

Installation

  1. Clone the repo
git clone https://github.com/oseughu/demo-credit.git
  1. Install NPM packages
npm install
  1. Enter your environment variables in a .env file you will create
NODE_ENV=development
SECRET= # FOR SESSIONS AND JWT
PORT=3000
USER_PASSWORD= # FOR HASHING USER PASSWORD WHEN SEEDING
DB_CLIENT= # pg mysql mysql2
DB_URI_DEV=
DB_URI_PROD=
DB_URI_TEST=
  1. Run Tests
npm test

Contact

Twitter - @oseughu Email - [email protected]

Project Link: https://github.com/oseughu/demo-credit

demo-credit's People

Contributors

oseughu avatar

Watchers

 avatar

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.