- Ensure you have the following installed:
- Python 3.10 or later
- PostgreSQL
-
Clone the repository:
git clone https://github.com/serenesky0914/kitty-show.git cd kitty-show cd kitty_backend
-
Set up a virtual environment:
python3 -m venv venv source venv/bin/activate
-
Install backend dependencies:
pip install -r requirements.txt
-
Set up the PostgreSQL database:
Make sure you have PostgreSQL installed and running. Create a new database and update the database configuration in your code as needed.
-
Run the application:
uvicorn app:app --reload
POST /documents
- Create a new documentGET /documents
- Retrieve all documentsPUT /documents/{id}
- Update an existing documentDELETE /documents/{id}
- Delete a document
You can run the project using following cmd
npm install
npm run dev
You can run and check the result http://localhost:3000/
npm run storybook
You can check the result http://localhost:6006/