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.
Separate repositories have been created for the backend and the frontend.
Clone the repository.
git clone [email protected]:parradam/personal-inventory-backend.git
Install dependencies.
pip install -r requirements.txt
Navigate to the src
directory.
cd src
Run the development server.
python manage.py runserver
The server should be available at port 8000.
Precommit hooks are set. ruff
and ruff-format
are used.
Run unit and integration tests.
pytest
git clone [email protected]:parradam/personal-inventory-frontend.git
Navigate to the frontend
directory.
cd frontend
Run the development server.
npm run dev
The server should be available at port 5173.
Precommit hooks are set.
lint-staged
can be used to run eslint
and prettier
on staged files.
npx lint-staged
Feel free to contribute by forking the repository, following the existing conventions on branch naming, and then opening a pull reuqest.
This project is licensed under the MIT License - see the LICENSE file for details.