Skip to content

serenesky0914/kitty-show

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kitty show Back-end

Getting Started

Prerequisites

  • Ensure you have the following installed:
    • Python 3.10 or later
    • PostgreSQL

Installation

  1. Clone the repository:

    git clone https://github.com/serenesky0914/kitty-show.git
    cd kitty-show
    cd kitty_backend
  2. Set up a virtual environment:

    python3 -m venv venv
    source venv/bin/activate
  3. Install backend dependencies:

    pip install -r requirements.txt
  4. 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.

  5. Run the application:

    uvicorn app:app --reload

API endpoints

  • POST /documents - Create a new document
  • GET /documents - Retrieve all documents
  • PUT /documents/{id} - Update an existing document
  • DELETE /documents/{id} - Delete a document

Kitty Show Front-end

You can run the project using following cmd

Install

npm install

Run project

npm run dev

You can run and check the result http://localhost:3000/

Run storybook

npm run storybook

You can check the result http://localhost:6006/