https://github.com/git-vish/formwise
Formwise is an AI-powered form builder that uses LLaMA with structured output to transform simple descriptions into ready-to-use forms.
https://github.com/git-vish/formwise
beanie-odm fastapi fastapi-sso groq langchain llama3 mongodb nextjs python shadcn tanstack-react-query
Last synced: 2 months ago
JSON representation
Formwise is an AI-powered form builder that uses LLaMA with structured output to transform simple descriptions into ready-to-use forms.
- Host: GitHub
- URL: https://github.com/git-vish/formwise
- Owner: git-vish
- License: mit
- Created: 2024-10-24T10:49:40.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-05T07:59:49.000Z (over 1 year ago)
- Last Synced: 2025-07-24T01:45:03.936Z (11 months ago)
- Topics: beanie-odm, fastapi, fastapi-sso, groq, langchain, llama3, mongodb, nextjs, python, shadcn, tanstack-react-query
- Language: TypeScript
- Homepage: https://formwise.vishwajeet.xyz
- Size: 1.35 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Formwise
**Formwise** is an AI-powered form builder that uses LLaMA with structured output to transform simple descriptions into ready-to-use forms.
## Getting Started 🚀
### [Give it a go](https://formwise.vishwajeet.xyz) 💡

### Key Highlights ✨
- **Backend**: **FastAPI** and **MongoDB**(Beanie ODM), for a robust form creation and management API.
- **Frontend**: **Next.js** and **shadcn/ui** for a clean and responsive user interface.
- **AI form generation**: **Langchain** with LLaMA 70B(Groq).
- **Authentication**: Login options with **Google SSO** and **email-password** authentication
## Setup ⚙️
1. **Clone the Repository**:
```bash
git clone https://github.com/git-vish/formwise.git
cd formwise
```
### Backend 🧩
2. **Set Up Virtual Environment & Install Dependencies**:
- **pip**:
```bash
cd backend
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
```
- **uv**:
```bash
pip install uv
cd backend
uv sync --frozen
source .venv/bin/activate
```
3. **Set Up Environment Variables**:
Copy `.env.example` to `.env` and fill in the required fields.
```bash
cp .env.example .env
```
4. **Run the Backend**:
```bash
uvicorn src.main:app --reload
```
### Frontend 🖥️
5. **Install Frontend Dependencies**:
```bash
cd ../frontend
npm install
```
6. **Set Up Environment Variables**:
Copy `.env.local.example` to `.env.local` and configure API details:
```bash
cp .env.local.example .env.local
```
7. **Run the Frontend**:
```bash
npm run dev
```
## License 📜
This project is licensed under the MIT License. Check the [LICENSE](LICENSE) file for more details.
## Feedback & Contributions 🙌
Your feedback and contributions are welcome! Please feel free to open an issue or submit a pull request.