kushal / unframework

Unframework is a Java stub that is an alternative to using a web framework.

Home Page:https://medium.com/@krave/controversial-coding-opinions-part-i-web-frameworks-are-evil-1f203d173594

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unframework is a stub that is an alternative to using a web framework. It puts routing of API and web requests into application code and relies on libraries for various bits of functionality. You can get more of the backstory in this Medium post.

UnframeworkServer dispatches to ApiServlet and WebServlet. ApiServlet then routes to the particular FooEndpoints file. FooEndpoints then calls the appropriate Endpoint impementation. Simple as that!

I run this server by importing into IntelliJ and creating a run configration for UnframeworkServer. You'll want to add an environment variable for PORT and run a local mongod.

The Javascript side can be run with npm install and npm run dev from the web/app directory. npm run package will package up the Javascript.

About

Unframework is a Java stub that is an alternative to using a web framework.

https://medium.com/@krave/controversial-coding-opinions-part-i-web-frameworks-are-evil-1f203d173594

License:Apache License 2.0


Languages

Language:Java 89.3%Language:JavaScript 10.7%