Projects icon indicating copy to clipboard operation
Projects copied to clipboard

REST Web App Idea

Open carsnwd opened this issue 7 years ago • 3 comments

Lot of applications today involve REST, I think making a basic REST web app where you have a front end that requests something, mid-tier that performs the logic/access a database and deals with pathing, to then deliver it to the front end to display.

An example is maybe like something simple such as states and capitals. Enter a state, and then give it's capital. Can make a database of that pretty easy in PostgreSQL (or really make it in excel, export it to CSV, then import to Postgres). Use a mid-tier like Java with Jersey and Tomcat/JBoss to deploy the server. The front end in JavaScript/HTML/CSS ofc or just XML if you don't care (probably gonna have the mid-tier make it into a JSON object for the front end to read), maybe even go further where the mid-tier makes it into a GeoJSON object that can be displayed using Leaflet.js.

Basically what I'm getting at is REST web apps are huge and a project like this would be something to familiarize yourself to do it any language.

carsnwd avatar Jun 10 '17 16:06 carsnwd

The new "official" language for Android is Kotlin that has a reeeaallly nice interoperability with Java and also is very funny to code, so I recommend it instead. I did a REST client using Kotlin a time ago (it's not finished, actually, but already working, and I coded in Kotlin but used Java std libs): https://github.com/Mazuh/RedTube-Wrapper. For web projects, you can use any Java framework just fine. Just import and use, easy like that.

Mazuh avatar Jun 10 '17 16:06 Mazuh

Javascript/ HTML/CSSofc.Mid teer geo JSON.main language English and what ever else you think

JasonHeiseJason avatar Jun 11 '17 23:06 JasonHeiseJason

@Mazuh

Oh cool, yeah I mean a REST app or REST api is so universal almost any language you can make one :) I feel like it's a great practice project to learn a language. Koitlin looks neat, I've never used it before myself.

carsnwd avatar Jun 23 '17 11:06 carsnwd