Git Product home page Git Product logo

one_naira_app's Introduction

Run the following command when connecting with the server in AWS

  1. cd /var/www/onenairapay
  2. source env/bin/activate
  3. sudo service apache2 restart

ls -a

cd /var/www

username: afripoint

password: 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

SCOPE OF THIS PROJECT

  • The use of QRcode - phone to phone This will be the only mode of payment for stage 1 of development and launch phase.

payment flow

  1. load from your phone
  2. has a qrcode and make payment through qrcode
  3. load from your bank

payment gateway

  • When a user wants to fund his/her wallet from their bank acccount
  • When a user wants to withdraw from their wallet into their bank account

payment device - tablet the application will be installed in a device which could be a tablet or a small device

sudo -u postgres psql

CREATE DATABASE one_naira_db;

CREATE USER onenairadatabaseuser WITH PASSWORD 'WX3ab3Xnfus4k9ab3Xnfab3Xnf'; ALTER ROLE onenairadatabaseuser SET client_encoding TO 'utf8'; ALTER ROLE onenairadatabaseuser SET default_transaction_isolation TO 'read committed'; ALTER ROLE onenairadatabaseuser SET timezone TO 'UTC';

GRANT ALL PRIVILEGES ON DATABASE one_naira_db TO onenairadatabaseuser;

\q to quite the saver

CREATING TOKEN MANUALLY python manage.py drf_create_token +2347038320362 http http://127.0.0.1:8000/dashboard/users/ 'Authorization: Token 54204909640b7815a556967286fa92b4ab55d2b81'

NB: ensure you have hhtpie installed

POST REQUEST USING HTTPIE http POST http://localhost:8000/transactions/
payee_wallet_address="7038320362"
description="paid for transport to owerri"
amount=150
Authorization:"Token <your_token>"

payment http POST https://onenairapay.com/transactions/
Content-Type:application/json
payee_wallet_address="8122821939"
description="paid for data"
amount=1000
Authorization:"Token 756de0c1003013755f41a129dcffd142f18c4771"

https://onenairapay.com/deposit/

http POST https://onenairapay.com/deposits/
amount=20000
Authorization:"Token 756de0c1003013755f41a129dcffd142f18c4771"

http POST https://onenairapay.com/auth/change_password/
current_password="flower123456"
Authorization:"Token 756de0c1003013755f41a129dcffd142f18c4771"

work: optimization and error handling and testing.

  • Currently I have optimize and handled the necessary errors that might occure when a user is trying to register and log in and maybe there is a problem with the server/network.

  • so basically what I am doing is optimizing the app and where there are necessary refactoring, I will make neccessary refactoring.

  • from the registration and login journey, I will move to payments pending when we start the mobile implementation.

  1. I worked on one naira app: I added a field: the gender of the user that's on the design but not on the endpoints

  2. With the help of Kelly, the application database was reset

  3. I rounded of the authentication for kinetic application after adding some other fields as instructed by Abigail and now currently working prrofile management where user can view that profile, so partial updating on their profile.

  4. As at yesterday Toby called my attention to something with respect to user profile on OneNaira which I am also currently working on.

Once I am done with this, then I will start consuming the Chinese API those specifically tailored to our MVP and create an endpoint from there.

one_naira_app's People

Contributors

denscholar 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.