TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

GPT3 'make things up as you go'-driven development

9 pointsby nadavivover 2 years ago

1 comment

nadavivover 2 years ago
TL;DR: just pretend some code repo exists, interact with it, and GPT will happily fill in the blanks.<p>Example:<p><pre><code> # Start with the &quot;act as a terminal&quot; preface (https:&#x2F;&#x2F;github.com&#x2F;f&#x2F;awesome-chatgpt-prompts#act-as-a-linux-terminal) git clone https:&#x2F;&#x2F;github.com&#x2F;shesek&#x2F;veterinarian-app cd veterinarian-app node src&#x2F;webserver.js --port 5051 curl -X POST localhost:5051&#x2F;api&#x2F;customers&#x2F;create -d name=&#x27;Bob Marlin&#x27; -d phone=050-1112223 -d email=bobml@gmail.com curl localhost:5051&#x2F;api&#x2F;customers?fields=id,uri,name,phone,email,created_at,updated_at,num_animals,next_visit # src&#x2F;webserver.js will now exists with an implementation of the API endpoints. .&#x2F;util&#x2F;db-dump-json.sh --include customers,animals --out-file dump.json # db-dump-json.sh will now exists, including argument parsing&#x2F;validation and usage help text. </code></pre> The twitter thread lists some more examples. It&#x27;s pretty mind blowing to me that this is possible!