Giter VIP home page Giter VIP logo

zwallet-api's Introduction

zwallet-api

The Zwallet API for Zwallet Mobile Application.

About The Project

API build in Express.js and MySQL for Quattuor/zwallet-app

Prerequisites

  • npm
    npm install npm@latest -g

Schema Database

Installation

  1. Clone the repo
    git clone https://github.com/Quattuor/zwallet-api.git
  2. Install NPM packages
    npm install
    This will install the dependencies inside node_modules

ENV configuration

Please create and make the changes in the .env file.

MYSQL_HOST = YOUR_HOSTNAME
MYSQL_USER = YOUR_DBUSER
MYSQL_PASS = YOUR_DBPASS
MYSQL_DATABASE = YOUR_DBNAME

PORT = YOUR_PORT
LOCAL = YOUR_APIURL

SECRET_KEY = "YOUR_SECRET_KEY"

FROM = "YOUR_EMAIL_NAME"
EMAIL = "YOUR_EMAIL_ID"
EPASS = "YOUR_EMAIL_PASS"

Usage

node index OR nodemon start OR npm start

Runs the app in the development mode.
Open http://localhost:4000/ to view it in the browser.

Endpoint

Method Endpoint Description
POST /auth/register Register New User
POST /auth/login Login User
POST /auth/logout Logout User
GET /auth/verify Activate User Account
POST /auth/forgot Forgot Password User
POST /auth/otp Verif OTP Forgot Password
PATCH /auth/reset Reset Password User

Documentation

For more info visit Endpoint User, Endpoint Transfer and Contact

License

Distributed under the MIT License.

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.