Skip to content

About

REST API for the Hisaab Rakho 2.0 app: stores users and transactions for budgeting and expense tracking. Built with Node.js and json-server, hosted on Vercel.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Repository files navigation

Hisaab Rakho API

Welcome to the Hisaab Rakho API. This API is designed to manage financial records and transactions efficiently.

Table of Contents

Introduction

Hisaab Rakho API provides a set of endpoints to manage users, transactions, and financial records. It is built to be simple, secure, and scalable.

Getting Started

To start using the Hisaab Rakho API, follow these steps:

  1. Clone the repository:

    git clone https://github.com/ammarsaa/hisaab-rakho-api.git
  2. Install dependencies:

    cd hisaab-rakho-api
    npm install -g json-server
  3. Run the server:

    json-server --watch database.json --port 3000

Endpoints

User Endpoints

  • Create User

    POST /users
  • Get All Users

    GET /users
  • Get User By ID

    GET /users?id={id}
  • Get User By email

    GET /user?email={email}

Transaction Endpoints

  • Create Transaction

    POST /transaction
  • Get All Transactions

    GET /transaction
  • Get Transaction By ID

    GET /transaction?id={id}
  • Get Transaction By User ID

    GET /transaction?user_id={user_id}

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

REST API for the Hisaab Rakho 2.0 app: stores users and transactions for budgeting and expense tracking. Built with Node.js and json-server, hosted on Vercel.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages