Skip to content

mateusscheper/spring-gpt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring GPT

Spring Boot application made entirely using ChatGPT


This application was made entirely by prompting ChatGPT for its codes. Every piece of code generated by ChatGPT was copied and pasted manually inside the project's directory, creating the necessary files, importing and indenting the code accordingly.

Prompts

The entire chat transcription is here (Please excuse my grammar mistakes).

Running

Before starting the application, create a database in your PostgreSQL server named springgpt. After that, simply open the project in your favorite IDE and run the application.

Testing

To test the endpoints, import this collection in Postman. You can also run the endpoints using your IDE or simply running cURL in your terminal.

Endpoints

Method Path Description
POST /api/client Create client
PUT /api/client Edit client
DELETE /api/client/:id Delete client
GET /api/client Get all clients
GET /api/client/:id Get client by ID
POST /api/product Create product
PUT /api/product Edit product
DELETE /api/product/:id Delete product
GET /api/product Get all products
GET /api/product/:id Get product by ID

About

Spring application made using ChatGPT

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages