Giter Site home page Giter Site logo

clumsy-cranberry-1 / personal-budget-api Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 25 KB

Manage a simple budget using a budget envelope strategy. Users can create, read, update, and delete envelopes.

JavaScript 100.00%
api backend express-js javascipt node-js

personal-budget-api's Introduction

Envelope Budget API

A Codecademy Pro project for the Backend Engineer Career Path

Static Badge Static Badge Static Badge Static Badge Static Badge


The Envelope Budget API is designed to manage a portfolio budget using a budget envelope strategy. It allows you to create, read, update, and delete envelopes to help them track how much money you're spending on certain categories in your budget.

Note

This API is part of a larger full-stack project. The complete project comprises a database, a front-end interface, and this API to handle the backend functionalities.

While the full-stack project is in progress, the API has been developed and made available here. The database and front-end components will most likely reside in separate GitHub repositories for which I will provide a link to in this repository on completion.

Getting Started

Prerequisites

Node.js installed on your machine

Installation

  1. Clone the repository:

    git clone <https://github.com/yourusername/budget-api.git>
  2. Navigate to the project directory:

    cd budget-api
  3. Install dependencies:

    npm install

Running the app

To run the application locally:

npm start

Once the app is running, you can access the API at http://localhost:3000/

API Endpoints

The following endpoints are available:

  • Retrieve all envelopes:
    GET /api/v1/envelopes

  • Retrieve a specific envelope by ID:
    GET /api/v1/envelopes/{id}

  • Create a new envelope:
    POST /api/v1/envelopes

  • Update an existing envelope by ID:
    PUT /api/v1/envelopes/{id}

  • Delete an envelope by ID:
    DELETE /api/v1/envelopes/{id}

  • Transfer money between envelopes:
    POST /api/v1/envelopes/{senderID}/transfer/{recipientID}

Usage

Use a tool like Postman or cURL to interact with the API endpoints. Ensure proper authentication and data validation for production use.

Acknowledgements

This API was initially developed as part of the Backend Engineer Path on Codecademy. Course projects serve as the foundation, and I continuously strive to expand and enhance them to deepen my understanding and proficiency in utilizing the technologies covered.

Contributions

Contributions are welcome! I apreciate any recommendations for improvement.

Made with ๐Ÿ’› by Melissa V. Herbst

personal-budget-api's People

Contributors

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