Code Monkey home page Code Monkey logo

thrift-contribution's Introduction

Esusu-Confam-Ltd

I went on a personal hackathon and built a monthly contribution (Esusu) ๐Ÿ˜… API in less than 24 hours but I didn't add any payment gateway with NodeJS, Express JS, Mongoose, Bcryptjs and Passport JS

A group would be created then folks join. When you Join the group, y'll be given a random number between 1 - 12 then once 12 people have joined, the contribution kicks off and people who join after would be assigned numbers subsequently (13, 14, 15)

A group could be searchable, so I can tell someone else to join the group and it could also be hidden. Then it has maximum capacity. The group also has a fixed amount

Then once you join, y'll begin to pay your contribution so once you hit the total amount you ought to pay, y'll be given your money Building this within 24 hours wasn't easy and I might not have written the best codes but you can learn a little bit of Node and Express JS from it.

Installation

To install all the dependencies, type npm install in the root directory

Usage

To register, go to the (domain)/register route and you can use this

{
  "username": "a",
  "password": "dipo",
  "email": "[email protected]"
}

to register and remove the email to login in the /login route

Getting Started

Head over to the /group route and create a group with this

    "name": "Esusu1",
    "amount": "200",
    "description": "For the big boys",
    "maximum_capacity": 30,
    "searchable": "true",
    "is_active": "Yes"
}

Screenshot 2022-02-15 at 3 00 22 PM

To join a group, e.g "Esusu1" group Go to '/group/join/Esusu1' to join the group

To pay your contribution to a group, use the post method and go to '/group/Esusu1/pay' route to pay

Screenshot 2022-02-15 at 3 05 05 PM

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.