TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: What would you use to build a super simple web app?

13 pointsby livatlantisabout 9 years ago
I need to create a very simple web app. What are some good micro frameworks out there that I could use?<p>My needs are very basic: users need to be able to create an account, post new discussions, reply to things and see what&#x27;s new. (Basic CRUD stuff).<p>I considered Rails when I first worked on this project many moons ago, but I find it&#x27;s is overkill for what I want. Too much magick. I want as much of the code to be stuff I&#x27;ve written and understand. For the db, I&#x27;m curious about noSQL solutions but again, I want to keep it light.<p>I don&#x27;t care if it&#x27;s in Ruby, PHP, Golang, Perl 6, JS, Python... it&#x27;s for a personal project so I&#x27;ll have fun playing with it.<p>What are you guys using for your small side projects? (Thanks!)

22 comments

blitiabout 9 years ago
Django with SQLite. It has built in Admin panel, authentication, and a very simple DB api. The learning curve is not hard. SQLite requires no additional dependencies and you can backup your db by copying the database file. It also performs very well.
siquickabout 9 years ago
You could get this project setup in Meteor (JS framework) in ~2 minutes using Telescope<p><a href="http:&#x2F;&#x2F;www.telescopeapp.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.telescopeapp.org&#x2F;</a>
评论 #11378618 未加载
iamd3vilabout 9 years ago
I use Flask if it&#x27;s an API or Django if it&#x27;s a web app. These days I use Elixir and Phoenix for most serious web apps though but if it&#x27;s a small side project, I would reach for Python since that&#x27;s the language I am most comfortable with. I really like SQLite and I think it&#x27;s very underrated for small apps, but if it&#x27;s serious I would use Postgresql since it&#x27;s fast, reliable and awesome.
iSlothabout 9 years ago
Generally I&#x27;m doing side projects to fix an actual need of mine, rather than where some people are trying to learn a new language or framework, so I pick PHP because it&#x27;s the language that I&#x27;m most proficient at, it&#x27;s probably not the best language for my needs, however the most powerful language is the one that you know!<p>Are you looking to build something, in which case playing around with new frameworks may just be a distraction...? Or do you actually want to play around with something new?
评论 #11374900 未加载
kfullertabout 9 years ago
My personal choice at the moment is Ruby with Roda[0] and whatever ORM meets my needs best, or even skip the ORM and use the DB adapter directly if it&#x27;s something quick and simple<p>[0]: <a href="http:&#x2F;&#x2F;roda.jeremyevans.net&#x2F;documentation.html" rel="nofollow">http:&#x2F;&#x2F;roda.jeremyevans.net&#x2F;documentation.html</a>
squiguy7about 9 years ago
I&#x27;m going to go out on a limb and suggest a Rust framework called pencil [1]. It&#x27;s inspired by Python&#x27;s flask and is just as easy to get going.<p>[1]: <a href="https:&#x2F;&#x2F;fengsp.github.io&#x2F;pencil&#x2F;pencil&#x2F;" rel="nofollow">https:&#x2F;&#x2F;fengsp.github.io&#x2F;pencil&#x2F;pencil&#x2F;</a>
tedmistonabout 9 years ago
If you truly want no magic and barebones &quot;on the metal&quot; code, go with Flask. You&#x27;ll have every choice down to the way you serialize your objects into views, models, and every aspect of the database. You can write everything yourself with no or minimal dependencies, or pull in the most popular packages as you see fit (SQLAlchemy, Marshmallow, Jinja, etc.).<p>Django will provide some (useful) magic, but nowhere near as much as Rails. If the site evolves, I really recommend transitioning to Django for it&#x27;s ecosystem. In either case, I recommend sticking with plug-and-play auth.<p>(Disclaimer: I&#x27;m an engineer at a startup whose backend is 90% Python, mostly Django.)
joeclark77about 9 years ago
Python and Flask on Heroku. What you&#x27;re describing is almost the &quot;tutorial&quot; web app (look up Grinberg&#x27;s book on Flask). Heroku is a nice platform to work on that takes a lot of the complexity out of cloud hosting. Flask lets you do almost all the coding yourself, but it has add-ons available to take care of whatever you don&#x27;t want to do.<p>Heroku gives you a PostgreSQL database with one click, but you could easily integrate a MongoDB database if you wanted to try NoSQL. In Mongo, you&#x27;d actually store and retrieve your data in JSON, so it&#x27;s even easier than writing SQL.
Raed667about 9 years ago
For basic CRUD and REST API I use Sails.js [0]. You can literally roll-up an app in 20 minutes.<p>[0] : <a href="http:&#x2F;&#x2F;sailsjs.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;sailsjs.org&#x2F;</a>
imauldabout 9 years ago
If your interested in making a RESTful back end I would suggest the Falcon microframework for Python.<p><a href="http:&#x2F;&#x2F;falconframework.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;falconframework.org&#x2F;</a><p>Or just using Go out of the box. It has a lot of what you&#x27;ll need built in and is pretty fun language. I&#x27;m learning it right now myself and it has a lot of interesting features.
miguelrochefortabout 9 years ago
What you&#x27;re describing isn&#x27;t &quot;very simple&quot;.<p>Use a proper framework. Something like Elm, Om Next or React.
评论 #11374954 未加载
networkedabout 9 years ago
You may find this thread useful: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=10302879" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=10302879</a>, though it&#x27;s about CRUD on the JVM specifically.
dreamdu5tabout 9 years ago
Pux (like Elm) in PureScript (purely functional JavaScript).<p><a href="http:&#x2F;&#x2F;alexmingoia.github.io&#x2F;purescript-pux&#x2F;" rel="nofollow">http:&#x2F;&#x2F;alexmingoia.github.io&#x2F;purescript-pux&#x2F;</a>
vram22about 9 years ago
Python and CherryPy and any light DB like SQLite. Or Bottle instead of CherryPy.
mileswenabout 9 years ago
I think either Django or Ruby on Rails would do. You can roll out these basic functionalities in less than 2 hours if you are reasonably familiar with these frameworks.
gonyeaabout 9 years ago
Stop thinking about &quot;overkill&quot;. It&#x27;s such a foolish pre-optimization. If sometching helps you solve a problem quickly, just run with it.
sauereabout 9 years ago
Python+Flask is awesome<p>so lightweight, yet extendable... some extensions that might be worht looking at: Flask-Login, Flask-SQLAlchemy, Flask-WTForms, Flask-Admin
评论 #11379172 未加载
nanospeckabout 9 years ago
I&#x27;m going to build my side project in gwt ( with bootstrap for responsiveness) and host it in google app engine.
mbrockabout 9 years ago
CGI, basic auth, and bash can go a long way. Add git and baby, you&#x27;ve got a stew going.
PaulHouleabout 9 years ago
I think if you find rails to be too hard you ought to be looking for some hosted solution to do what you want or just pay somebody else to do it.
评论 #11374876 未加载
crispytxabout 9 years ago
PHP
tugberkkabout 9 years ago
PHP and MySQL. Also Bottle and Python.