Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Software Development
Programming
Development
The Insane Barbershop
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="SystemSequence" data-source="post: 415455" data-attributes="member: 66293"><p>Let me introduce the Insane Barbershop a powerful generic REST API built with Java & Spring. It's great if you just want to have full and fast control over your database or building mobile apps. When you build mobile apps with this rest there is no need for schemas or mappings due to the JSON response with built keys. This allows you to just use the keys to get their values.</p><ul> <li data-xf-list-type="ul"><span style="font-size: 18px">Blah, so what can it do?</span><br /> The Insane Barbershop can query any kind of database, in current build you can query MySQL, SQL and Jtds (If you want to add more databases you just update the pom.xml with the dependency for you database.), the queries you can use in this build is SELECT, INSERT and UPDATE. The Insane Barbershop comes with a sleek angular website setup for you to enter your queries in and receive a response. <br /> </li> <li data-xf-list-type="ul"><span style="font-size: 18px">What's the response like?</span><br /> the response is formatted to JSON using hashmaps.</li> <li data-xf-list-type="ul"><span style="font-size: 18px">When and how can I use it?</span><br /> It can be used anywhere at anytime either through our own included website or any client able to send http requests. It's super easy to setup and there will be a tutorial down below. An example of a usecase is a Habbo Hotel, you as a hotel owner may not be at your computer all the times but can still ask questions to your database and get the current information out of it or update, either by the mobile or any other device.</li> <li data-xf-list-type="ul"><span style="font-size: 18px"><span style="color: #ff0000">Known Issues</span></span><br /> 1. There is a problem with MySQL that seems to use the selectOne() method, therefor no multiple responses can be made currently. This is not the case in SQL server that goes green.<br /> 2. The website currently just supports SELECT queries<br /> - As few people have tested this, please report issues in this thread or in bitbucket.</li> <li data-xf-list-type="ul"><span style="font-size: 18px">Screenshots<br /> Current layout of the website<br /> <img src="https://i.gyazo.com/a4bf4df00cf1b701710d7539d7ae91e1.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /> <br /> The query and response<br /> <img src="https://i.gyazo.com/c78f248b2bd7b34015b2a509209e8646.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /> <br /> Error status and message<br /> <img src="https://i.gyazo.com/3d61c8bbf3602c529e993fbb77dbdce8.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /> </span></li> <li data-xf-list-type="ul"><span style="font-size: 18px">Setup Requirements</span><br /> <span style="font-size: 15px">Java EE or JDK 1.8</span></li> <li data-xf-list-type="ul"><span style="font-size: 18px">Setup</span><br /> <span style="font-size: 15px">Create a .props file that has the following properties in it;<br /> [CODE]driver = yourDriver #Example: com.mysql.jdbc.Driver<br /> url = yourUrl #Example jdbc:mysql://localhost:3306/myDb<br /> username = username # Your database username<br /> password = password # Your database passwrod[/CODE]</span><br /> <br /> <span style="font-size: 15px"> Start The Insane Barbershop server by terminal or cmd using the following command;</span><br /> <span style="font-size: 15px"> [CODE]java -jar TheInsaneBarberShop-RELEASE-2017.07.jar -fp C:\Link\to\rest\props\file.props -p 8080 -ip 127.0.0.1[/CODE]</span><br /> <span style="font-size: 15px"> The server should now be up and running.</span><br /> <span style="font-size: 15px"> If you wish to use our website created for this, upload it to any webserver and change the ip / address in the app.js to point to the server, after that it should be good to go. <br /> <br /> To use the queries you should use;<br /> [CODE]http://localhost/ibs/select<br /> http://localhost/ibs/insert<br /> http://localhost/ibs/update[/CODE]</span></li> <li data-xf-list-type="ul"><span style="font-size: 18px"><a href="https://bitbucket.org/TheBarberer/insanebarbershop/src" target="_blank">Bitbucket</a><br /> - </span><span style="font-size: 15px">Please share your feedback with us<br /> - Releases will be made in the end of every month, keep track on the version number ex; 2017.07<br /> - If you want to contribute, please create a branch and do pull requests.<br /> - <a href="https://bitbucket.org/TheBarberer/insanebarbershop/downloads/" target="_blank">Download The Insane Barbershop</a></span></li> <li data-xf-list-type="ul"><span style="font-size: 15px">Credits<br /> - Me doing the Rest Service<br /> - @3MIL doing the website</span></li> </ul><p><span style="font-size: 15px">I'll hope you have some usage of this, and have thoughts of how I can improve this service. </span></p><p><span style="font-size: 15px">Best Regards, SystemSequence</span></p></blockquote><p></p>
[QUOTE="SystemSequence, post: 415455, member: 66293"] Let me introduce the Insane Barbershop a powerful generic REST API built with Java & Spring. It's great if you just want to have full and fast control over your database or building mobile apps. When you build mobile apps with this rest there is no need for schemas or mappings due to the JSON response with built keys. This allows you to just use the keys to get their values. [LIST] [*][SIZE=5]Blah, so what can it do?[/SIZE] The Insane Barbershop can query any kind of database, in current build you can query MySQL, SQL and Jtds (If you want to add more databases you just update the pom.xml with the dependency for you database.), the queries you can use in this build is SELECT, INSERT and UPDATE. The Insane Barbershop comes with a sleek angular website setup for you to enter your queries in and receive a response. [*][SIZE=5]What's the response like?[/SIZE] the response is formatted to JSON using hashmaps. [*][SIZE=5]When and how can I use it?[/SIZE] It can be used anywhere at anytime either through our own included website or any client able to send http requests. It's super easy to setup and there will be a tutorial down below. An example of a usecase is a Habbo Hotel, you as a hotel owner may not be at your computer all the times but can still ask questions to your database and get the current information out of it or update, either by the mobile or any other device. [*][SIZE=5][COLOR=#ff0000]Known Issues[/COLOR][/SIZE] 1. There is a problem with MySQL that seems to use the selectOne() method, therefor no multiple responses can be made currently. This is not the case in SQL server that goes green. 2. The website currently just supports SELECT queries - As few people have tested this, please report issues in this thread or in bitbucket. [*][SIZE=5]Screenshots Current layout of the website [IMG]https://i.gyazo.com/a4bf4df00cf1b701710d7539d7ae91e1.png[/IMG] The query and response [IMG]https://i.gyazo.com/c78f248b2bd7b34015b2a509209e8646.png[/IMG] Error status and message [IMG]https://i.gyazo.com/3d61c8bbf3602c529e993fbb77dbdce8.png[/IMG] [/SIZE] [*][SIZE=5]Setup Requirements[/SIZE] [SIZE=4]Java EE or JDK 1.8[/SIZE] [*][SIZE=5]Setup[/SIZE] [SIZE=4]Create a .props file that has the following properties in it; [CODE]driver = yourDriver #Example: com.mysql.jdbc.Driver url = yourUrl #Example jdbc:mysql://localhost:3306/myDb username = username # Your database username password = password # Your database passwrod[/CODE][/SIZE] [SIZE=4] Start The Insane Barbershop server by terminal or cmd using the following command;[/SIZE] [SIZE=4] [CODE]java -jar TheInsaneBarberShop-RELEASE-2017.07.jar -fp C:\Link\to\rest\props\file.props -p 8080 -ip 127.0.0.1[/CODE][/SIZE] [SIZE=4] The server should now be up and running.[/SIZE] [SIZE=4] If you wish to use our website created for this, upload it to any webserver and change the ip / address in the app.js to point to the server, after that it should be good to go. To use the queries you should use; [CODE]http://localhost/ibs/select http://localhost/ibs/insert http://localhost/ibs/update[/CODE][/SIZE] [*][SIZE=5][URL='https://bitbucket.org/TheBarberer/insanebarbershop/src']Bitbucket[/URL] - [/SIZE][SIZE=4]Please share your feedback with us - Releases will be made in the end of every month, keep track on the version number ex; 2017.07 - If you want to contribute, please create a branch and do pull requests. - [URL='https://bitbucket.org/TheBarberer/insanebarbershop/downloads/']Download The Insane Barbershop[/URL][/SIZE] [*][SIZE=4]Credits - Me doing the Rest Service - @3MIL doing the website[/SIZE] [/LIST] [SIZE=4]I'll hope you have some usage of this, and have thoughts of how I can improve this service. Best Regards, SystemSequence[/SIZE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Software Development
Programming
Development
The Insane Barbershop
Top