Skip to content

parradam/personal-inventory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

149 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Personal inventory

Introduction

This is a proof of concept for an application to allow the recording of your own personal inventory - the items that you own.

The backend uses Django, DRF, and Pytest. The frontend is developed with Vite, React, Tanstack Router, Axios, React Hook Form, and Tailwind CSS.

Features

Registration with validation

Registration

Login with validation

Login

Add items with validation

Add item

Datepicker for ease of use

Datepicker

View a list of items

Item list

Inferred fields

Item with status of obsolete

Search the list

Search item list

Delete items from the list

Delete item

Detail view (read-only)

Detail view (read-only)

Detail view (edit)

Detail view (edit)

Event list for traceability

Event list

Getting started

Clone the repository

git clone git@github.com:parradam/personal-inventory-backend.git

Backend

Running the development server

Install dependencies.

Navigate to the src directory containing requirements.txt.

cd src
pip install -r requirements.txt

Run the development server.

python manage.py runserver

The server should be available at port 8000.

Linting

Precommit hooks are set. ruff and ruff-format are used.

Testing

Run unit and integration tests.

pytest

Frontend

Running the development server

git clone git@github.com:parradam/personal-inventory-frontend.git

Navigate to the frontend directory containing package.json.

cd frontend/frontend

Run the development server.

npm run dev

The server should be available at port 5173.

Linting

Precommit hooks are set.

lint-staged can be used to run eslint and prettier on staged files.

npx lint-staged

Contributing

Feel free to contribute by forking the repository, following the existing conventions on branch naming, and then opening a pull reuqest.

License

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

About

Personal inventory with Python, Django, DRF, TypeScript, React, and Tailwind CSS

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors