Skip to content

psadigh91/PromptEngineerProject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 

Repository files navigation

PromptEngineerProject

πŸ‘‹ Welcome to Prompt Engineer!

🎯 What This Is

A complete, production-ready AI Prompt Optimization Platform built with:

  • Frontend: React 18 + Vite + Tailwind CSS
  • Backend: Python FastAPI + SQLite
  • Features: Prompt analysis, optimization, library, context upload
  • Deployment: Ready for AWS Amplify, Vercel, Netlify, or Docker

πŸš€ Quick Navigation

What You Want To Do Read This File
See it live https://staging.d1a9rwz0d7hjvm.amplifyapp.com/
Run it locally QUICKSTART.md
Deploy to Amplify/Vercel DEPLOYMENT-GUIDE.md
Upload to GitHub GITHUB-SETUP.md
Learn about the project PROJECT_SUMMARY.md
Full documentation README.md

⚑ 30-Second Start

Run Locally

# Backend (Terminal 1)
cd backend
python3 -m venv venv
source venv/bin/activate  # Windows: venv\Scripts\activate
pip install -r requirements.txt
python main.py

# Frontend (Terminal 2)
cd frontend
npm install
npm run dev

Visit: http://localhost:5173

Deploy to Amplify

cd frontend
npm install
VITE_DEMO_MODE=true npm run build
cd dist
zip -r ~/amplify-deploy.zip .

Upload amplify-deploy.zip to Amplify Console.

Full guide: DEPLOYMENT-GUIDE.md


πŸ“‚ Project Structure

prompt-engineer-app/
β”œβ”€β”€ frontend/           # React app
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”œβ”€β”€ components/  # 7 React components
β”‚   β”‚   β”œβ”€β”€ pages/       # 3 pages (Home, Library, Settings)
β”‚   β”‚   β”œβ”€β”€ services/    # API + Mock API
β”‚   β”‚   └── utils/       # Constants
β”‚   └── package.json
β”‚
β”œβ”€β”€ backend/           # FastAPI server
β”‚   β”œβ”€β”€ api/           # API routes (analyze, library, contexts)
β”‚   β”œβ”€β”€ core/          # Business logic (analyzer, optimizer)
β”‚   └── main.py
β”‚
β”œβ”€β”€ contexts/          # Example context files
β”‚   β”œβ”€β”€ industries/    # Healthcare, Finance
β”‚   └── solutions/     # Customer Support
β”‚
β”œβ”€β”€ scripts/           # Utility scripts
β”‚   β”œβ”€β”€ setup.sh       # One-command setup
β”‚   └── start.sh       # Start both services
β”‚
└── docs/             # Documentation (10+ guides)

🎨 Features

Core Features

  • βœ… Prompt Analysis - 6-dimension PROMPT framework
  • βœ… Interactive Optimization - Step-by-step Q&A
  • βœ… Context Upload - Industry/solution-specific customization
  • βœ… Prompt Library - Save, search, filter, export
  • βœ… Demo Mode - Works without backend (perfect for portfolio!)

Technical Highlights

  • βœ… Beautiful gradient UI design
  • βœ… Fully responsive (mobile, tablet, desktop)
  • βœ… Mock API for frontend-only deployment
  • βœ… Real backend for production use
  • βœ… Complete documentation

🌐 Live Demo

URL: https://staging.d1a9rwz0d7hjvm.amplifyapp.com/

Try it:

  1. Enter a prompt: "Write an email to a customer"
  2. Click "Analyze Prompt"
  3. See analysis results
  4. Answer questions
  5. Get optimized prompt

Demo Mode: Uses mock data, no backend required.


πŸ“š Documentation Files

File Purpose
README.md Main documentation (features, tech stack)
QUICKSTART.md 5-minute local setup
DEPLOYMENT-GUIDE.md Deploy to Amplify/Vercel/Netlify
GITHUB-SETUP.md Upload to GitHub
INSTALL.md Detailed installation (all platforms)
PROJECT_SUMMARY.md Technical architecture
CONTRIBUTING.md How to contribute
00-START-HERE.md Original getting started (legacy)
AWS_AMPLIFY_DEPLOY.md Amplify-specific guide
FRONTEND_COMPLETE.md Frontend component docs

🎯 Choose Your Path

I Want To...

...See it working quickly β†’ Visit: https://staging.d1a9rwz0d7hjvm.amplifyapp.com/

...Run it on my computer β†’ Read: QUICKSTART.md (5 minutes)

...Deploy my own version β†’ Read: DEPLOYMENT-GUIDE.md (Choose platform)

...Upload to GitHub β†’ Read: GITHUB-SETUP.md (10 minutes)

...Understand the code β†’ Read: PROJECT_SUMMARY.md (Technical details)

...Contribute or customize β†’ Read: CONTRIBUTING.md


πŸ’‘ Key Points

For Portfolio/Demos

  • βœ… Demo Mode works perfectly (no backend needed)
  • βœ… Deploy to Amplify in 5 minutes
  • βœ… Free tier sufficient
  • βœ… Professional appearance

For Production

  • βœ… Real backend available (FastAPI + SQLite)
  • βœ… Data persistence
  • βœ… Scalable architecture
  • βœ… Can upgrade to PostgreSQL

For Learning

  • βœ… Clean code structure
  • βœ… Well-documented
  • βœ… Modern tech stack
  • βœ… Best practices applied

πŸ› οΈ Tech Stack

Frontend:

  • React 18
  • Vite 5
  • Tailwind CSS 3
  • React Router 6
  • Axios

Backend:

  • Python 3.9+
  • FastAPI
  • SQLAlchemy
  • SQLite (upgradeable to PostgreSQL)

Deployment:

  • AWS Amplify (demo)
  • Vercel / Netlify (alternatives)
  • Heroku / Railway (backend)
  • Docker (self-hosted)

βœ… What's Included

  • βœ… Complete source code (frontend + backend)
  • βœ… 10+ documentation files
  • βœ… 4 example context files
  • βœ… Setup scripts (one-command install)
  • βœ… Mock API (demo mode)
  • βœ… Docker support
  • βœ… MIT License (free to use)

πŸŽ‰ You're Ready!

Next steps:

  1. Quick look: Visit the live demo
  2. Run locally: Follow QUICKSTART.md
  3. Deploy your own: Follow DEPLOYMENT-GUIDE.md
  4. Share on GitHub: Follow GITHUB-SETUP.md

πŸ†˜ Need Help?


πŸ“Š Project Stats

  • Files: ~50 source files
  • Code: ~5,000 lines
  • Documentation: 10 guides
  • Features: 5 major features
  • Tech Stack: 10+ technologies
  • Development Time: Professional quality
  • Status: Production-ready βœ…

Built with ❀️ as a portfolio project showcasing full-stack development skills.

Ready to impress at interviews, share on LinkedIn, and deploy for the world to see! πŸš€

About

Build better AI prompts with systematic analysis, custom context(s), and a reusable library

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors