https://github.com/fpopic/palantir-extreme-startup-challenge-2017
(Hackathon) Palantir Extreme-Carpaccio-Java-Httpserver used for 45 - 60 min. coding challenge.
https://github.com/fpopic/palantir-extreme-startup-challenge-2017
challenge extreme-startup httpserver palantir
Last synced: 3 months ago
JSON representation
(Hackathon) Palantir Extreme-Carpaccio-Java-Httpserver used for 45 - 60 min. coding challenge.
- Host: GitHub
- URL: https://github.com/fpopic/palantir-extreme-startup-challenge-2017
- Owner: fpopic
- Created: 2017-05-18T21:06:11.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-05-18T21:14:02.000Z (about 8 years ago)
- Last Synced: 2025-01-10T19:42:19.603Z (4 months ago)
- Topics: challenge, extreme-startup, httpserver, palantir
- Language: Java
- Homepage:
- Size: 90.8 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
We were 5th (team TIMF):

A Java client to with a simple com.sun.net.httpserver.HttpServer implementation.
## Dependencies
- maven 3
- JDK 8## Install
- `mvn clean install`## Code
The game server will post orders on `/order` endpoint.
`OrderHttpHandler` inner class inside `MyHttpServer.java` file will handle this so this is where to start coding.## Run
You don't need any application server. No Tomcat, no WAR to deploy. The server is embedded.- `mvn exec:java -Dexec.mainClass="xcarpaccio.MyHttpServer"`
The server listens on port 9000: [http://localhost:9000/ping](http://localhost:9000/ping)
You can also launch the server with your IDE. You just have to launch `MyHttpServer` class. It has a `main` method.