Thanks to visit codestin.com
Credit goes to github.com

Skip to content

pritam1322/MiniVault-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MiniVault API

A lightweight and secure API for managing secrets or credentials, built with [FastAPI/React].


🛠️ Setup Instructions

1. Clone the Repository

git clone https://github.com/pritam1322/MiniVault-API.git
cd MiniVault-API

2. Install Dependencies

cd minivault-api
pip install -r requirements.txt

frontend is optional you can use cli mentioned below as well

cd ..
cd frontend
npm install

3. Run the API Server

uvicorn main:app --reload

4. Notes / Tradeoffs (MiniVault-API)

  • Hugging Face Transformers for Text Generation
    The backend integrates Hugging Face models to generate natural language responses based on user prompts.

  • FastAPI for Scalable Backend APIs
    FastAPI is used to expose high-performance REST endpoints for model inference, with automatic documentation and async support.

  • React Frontend for User Interaction
    A clean and responsive React-based UI allows users to input prompts and view generated text in real time.

🧪 Testing - CLI

Format : python cli.py "prompt" --model phi --stream

python cli.py "Tell me a joke" --model phi --stream

Frontend Optional

image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published