Skip to content

Lovable

Build full-stack astrology apps with Lovable (formerly GPT Engineer) and Occult API.

Getting Started

Describe your app to Lovable, mentioning Occult API endpoints. Lovable will scaffold a full-stack project with the necessary fetch calls.

Example Prompt

Try a prompt like this:

prompt
Build a React app with a form for birth data (date, time, latitude, longitude). On submit, call POST https://api.occultapi.com/api/astro/chart/ with X-API-Key header and body {"date_time": "1990-05-15T14:30:00+05:30", "latitude": 28.6139, "longitude": 77.209, "timezone_as_float": 5.5} and display the planetary positions.

Environment Variables

Set OCCULT_API_KEY in Lovable's environment settings so the generated code can authenticate with Occult API.

Testing

Use Lovable's built-in preview to test the integration before deploying.