I'll see for the source code, it is something which I've been thinking. I may eventually push it to github but I've not yet made my mind over this.
4 karma · joined December 30, 2016
I'll see for the source code, it is something which I've been thinking. I may eventually push it to github but I've not yet made my mind over this.
The VPS cost 5$ per month. If this gets some traffic, I might put some ads on it or use the same VPS for other things.
I built a temporary disposable email service. The backend is coded in C# (.Net Core 1.1) and runs on a small Linux VPS. The database is Postgresql. I did not bother using Entity Framework as it was too much for this small project. I ended up using the Dapper micro-ORM. Everything is static with some Javascript for the dynamic parts. The content is served statically to keep resource usage low. I also coded the SMTP server myself.
The web is fronted by nginx which act as a static file server and proxies dynamic requests to the Kestrel app server.
Unlike similar sites, my service runs well on mobile browsers and supports embedded pictures and file attachments.