FindPet - project to help find pets
This repository contains the codebase for FindPet, a web application built with ReactJS for the frontend and Django Rest Framework for the backend.
To run the frontend part of the application, follow these steps:
- Ensure you have Node.js and Yarn installed on your machine.
- Clone this repository.
- Navigate to the
reactdirectory. - Run
yarn installto install the dependencies. - After installation, you can start the development server using
yarn dev. - For production build, use
yarn build.
Here are the main dependencies used in the React part of the project:
- axios: Promise based HTTP client for the browser and node.js.
- react: JavaScript library for building user interfaces.
- react-dom: Entry point to the DOM and server renderers for React.
- react-input-mask: React input mask component.
- react-router-dom: DOM bindings for React Router.
- react-toastify: React component for toast notifications.
- typescript: Typed superset of JavaScript that compiles to plain JavaScript.
- @typescript-eslint/eslint-plugin: TypeScript specific linting rules for ESLint.
- @typescript-eslint/parser: TypeScript parser for ESLint.
- eslint: Linting utility for JavaScript and JSX.
- eslint-plugin-react-hooks: React Hooks specific linting rules for ESLint.
- vite: Next-generation frontend tooling for React development.
To run the backend part of the application, follow these steps:
- Ensure you have Python and pip installed on your machine.
- Clone this repository.
- Navigate to the
restapidirectory. - Create a virtual environment (
python -m venv venv) and activate it (source venv/bin/activatefor Unix systems orvenv\Scripts\activatefor Windows). - Install dependencies with
pip install -r requirements.txt. - Run migrations with
python manage.py migrate. - Start the development server using
python manage.py runserver.
Here are the main dependencies used in the Python Django part of the project:
- django: Web framework for building web applications in Python.
- djangorestframework: Toolkit for building Web APIs in Django.
- django-cors-headers: Django application for handling the server headers required for Cross-Origin Resource Sharing (CORS).
- pillow: Python Imaging Library adds image processing capabilities to your Python interpreter.
Contributions are welcome! If you find any issues or want to suggest enhancements, feel free to open an issue or submit a pull request.
