Skip to content

A pathfinder for you next coding project. Answer questions about your preferences and get an individual creative project idea. | Staffbase Internship

Notifications You must be signed in to change notification settings

Jeske-dev/IdeaGenius

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IdeaGenius

Something like a pathfinder for your next coding project. Choose which project types you prefer. | API that works with OpenAI's ChatGPT | Staffbase Internship

Before running the project

Make sure to insert you OpenAI API Key and MongoDB Atlas uri in application.properties

openAi.apiKey= <your OpenAI key>
mongo.url= <your MongoDB Atlas url>

You can get your own for free key at OpenAI

Endpoints

Use this link to download my postman workspace.

User

GET http://localhost:8080/user?id=<userId>

get User by userId -> returns User

PUT http://localhost:8080/user?id=<userId>&surname=<newSurname>&firstname=<newFirstname>&email=<newEmail>

update User (only id is required) returns updated User

POST http://localhost:8080/user?email=<email>&surname=<surname>&firstname=<firstname>

create User (all parameters are required) -> returns id of new User

DELETE http://localhost:8080/user?id=<userId>

delete User -> returns true if acknowledged

Process

POST http://localhost:8080/process/start?id=<userId>&lang=<language>

starts a new process (all parameters are required, language ISO foramt or writen out) -> returns first question (this object will include processId)

POST http://localhost:8080/process/response?id=<processId>&choice=<your choice>

response to previous question -> returns next question or final idea

Have a look at

to see DTO's and Controller more in detail.

About

A pathfinder for you next coding project. Answer questions about your preferences and get an individual creative project idea. | Staffbase Internship

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages