Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Expense Tracker API

Description

This is a Flask backend API that allows users to sign up, log in, and manage their personal expenses. Each user can only access and modify their own data.

Features

  • User authentication (signup, login, logout, session check)
  • Secure password hashing using bcrypt
  • Full CRUD for expenses
  • Pagination for viewing expenses
  • Protected routes (users can only access their own expenses)

Installation

pipenv install
pipenv shell

Database Setup

flask db init
flask db migrate -m "initial migration"
flask db upgrade

Seed Database

python seed.py

Run the App

flask run

API Endpoints

Auth

  • POST /signup
  • POST /login
  • DELETE /logout
  • GET /me

Expenses

  • POST /expenses
  • GET /expenses?page=1&per_page=5
  • GET /expenses/
  • PATCH /expenses/
  • DELETE /expenses/

About

Full Auth Flask Backend- Productivity App

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages