Giter Site home page Giter Site logo

jeske-dev / ideagenius Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 184 KB

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

Kotlin 100.00%
api-rest chatgpt codingprojects kotlin openai pathfinder spring-boot

ideagenius's Introduction

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.

ideagenius's People

Contributors

jeske-dev avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.