A full-stack application for managing friends with React frontend and FastAPI backend.
frontend/
: React application using Chakra UIbackend/
: FastAPI server with SQLAlchemy
-
Navigate to the backend directory:
cd backend
-
Create a virtual environment:
python -m venv .venv
-
Activate the virtual environment:
- On Windows:
.venv\Scripts\activate
- On macOS/Linux:
source .venv/bin/activate
- On Windows:
-
Install dependencies:
pip install -r requirements.txt
-
Run the backend server:
uvicorn backend.main:app --reload
-
Navigate to the frontend directory:
cd frontend
-
Install dependencies:
npm install
-
Start the development server:
npm run dev
- API documentation is available at http://localhost:8000/docs when the backend server is running.
- View all friends in a responsive grid layout
- Add new friends with validation
- Edit existing friends
- Delete friends with confirmation
- Real-time updates without page refresh