Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 1.03 KB

README.md

File metadata and controls

34 lines (24 loc) · 1.03 KB

LauzHack 2023

P+R Pathfinder

Authors

  • Alexandre Piveteau
  • Matthieu Burguburu
  • Victor Schneuwly
  • Zacharie Tevaearai

Organization

This project is built using Compose for Web and Kotlin multiplatform. It is split into 3 modules:

  • common, which contains the common code between the client and the server;
  • frontend, which contains the client code; and
  • backend, which contains the server code.

The code is formatted using Ktfmt. You can install it as an IntelliJ plugin.

Running the project

The project is built using Gradle. To run the project, you can use the following commands:

./gradlew run # Starts the server, on port 8888
./gradlew jsBrowserDevelopmentRun --continuous # Starts the client on port 8080

You'll need an OpenAI API key to run the project. You generate one here.

Once you have an api key and you have credits on your account, you can set it as an environment variable:

export OPENAI_API_KEY='your_api_key'