Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cypher-o/expense_tracker

An expense tracker API built using FastAPI
https://github.com/cypher-o/expense_tracker

expense-tracker fastapi python

Last synced: 14 days ago
JSON representation

An expense tracker API built using FastAPI

Awesome Lists containing this project

README

        

# Expense Tracker API

A simple and efficient API for tracking expenses, allowing users to create, retrieve, update, and delete expense entries.

## Features

- Create new expenses
- Retrieve a list of expenses
- Get details of a specific expense
- Update existing expenses
- Delete expenses

## Getting Started

### Prerequisites

- Python 3.9+
- pip (Python package installer)

### Installation

1. Clone the repository:

```sh
git clone https://github.com/cypher-o/expense_tracker.git
```

```sh
cd expense_tracker
```

2. Install the required packages:

```sh
pip install -r requirements.txt
```

### Running the API

To run the API locally, use the following command:

```sh
uvicorn app.main:app --reload
```

Once the server is running, you can access the API at `http://127.0.0.1:8000`

### API Documentation

The API documentation is automatically generated by FastAPI and can be accessed at:

- Swagger UI: `http://127.0.0.1:8000/docs`
- ReDoc: `http://127.0.0.1:8000/redoc`

### License

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

### Contributing

Contributions are welcome! Please open an issue or submit a pull request.

### Acknowledgements

- FastAPI - The web framework used.
- SQLAlchemy - Database toolkit for Python.