I made something similar with PHP a long time ago, you can just trick the server with an index.php (or hbs, js, rb) and redirect to a static page on html/haml in any route you want. Meanwhile, you are still using the rest of your routes as dynamic.
At least with rails and Django is possible or you can just serve all your dynamic app with a subdomain (easy) and done.
Yeah the problem is even if I still serve the static page it will crash my server if traffic is large. Bcz I will be using a server on my domain & from there it will serve a static & a dynamic page but still I need a server. And as Jesper said, it will affect the server but let's see I'm gonna make that shit first. Overthinking is bad & its my favourite habit 😂
SSL + Devise (Rails) or just encrypt every message my users send, so even if a hacker got access to my DB he will just obtain a bunch of hashes with nonsense.
For e-mails, I just recollect all the emails send it directly to my MailChimp/Mailgun marketing list so when this arrives at my DB all of them are already encrypted. So no data to disclose.
I know that I could be making my app safe if I invest time in developing some security measures, but in the end, unless you are delivering for a big company or a hot startup, you should be shipping a better product instead of doing backend work.
Well, I launched today an anonymous chat made with socket.io & express (node.js).
It took me 3 days from 0 to 1.
For a dating site, I strongly recommend a live messaging, no one is going to be refreshing the site to get notifications unless is for a hot girl which is not the case for almost every dating site/app on the market (All these apps are full of D**s).
You can go to GitHub and surf a lot of projects about chats/tinder clones or even Instagram clones which some of them have a full DM system working, so you can 'crawl/steal/cannibalize' some snipes of their codes or at least get a good idea of how everything works with socket.io
I don't even have a good experience with node.js but for some reason, many things I do with ruby that take me like a week, here with node.js is just a matter of hours.
Just give it a try :)
great. I'll try and find some clones. good luck with your own launch.
mine is less like a chat room, but instead like a 1:1 based chat.
Vimeo pro is a great starting point, you can even promote your work using the ‘series/film’ category so maybe you can sell your mooc courses as well in Vimeo or build a community. Everything is valid when you’re bootstrapping a product.
c