AppleKid7

AppleKid7

My first real Elixir project (landing page + newsletter) any suggestions or tips?

Hi, I’ve decided I’m going to get serious about making an actual project with what I’ve learned so far. Some time ago I had several ideas including making something AI or ML-related, but reality (and limitations of free time) kicked in so I think I’ll start even simpler: A landing page that talks about another project I’ve got in mind. The goal is basically to get a notion of whether there might be interest in the idea or not, and I could use that go gauge how much effort I should put into building the actual thing (which I plan to also use Elixir for!) and whether it’d merit pulling some all nighters :slight_smile:

So far my only “real” project is this sort of library where I tried to implement compile-time validations for newtypes, but it feels very hacky, and I think vanilla Elixir with its pattern matching already addresses making illegal states unrepresentable. I might use it for this project, but more for testing purposes.

I digress, the real point here is I am sorta putting together a checklist, and would absolutely welcome some extra eyes/help and opinions. I’d like to deploy it on AWS infra, which I haven’t touched in quite a while. I’m not worried about this thing being super scalable, and like to keep things as simple as possible… for simplicity’s sake if I can get away without even using a DB and just use an opensource tool or one with a generous free tier for keeping track of visits, impressions, and the emails of people who want to receive updates on the project, I would. I say this since it’ll be my first time deploying an app entirely by myself including managing VPCs, subnets, etc, so security-wise it’d be the easiest thing for me, but otherwise I absolutely have nothing against using a database.

So I’m thinking I will start with:

  • probably no LiveView, just plain old html views
  • Google Analytics or similar for keeping count of visits
  • MailerLite or similar for the “newsletter”
  • run my Elixir + Phoenix app on a cheap EC2 instance (maybe in an ASG)
  • CloudFront for static files?

Is there anything else I should keep in mind? Any suggestions, recommendations, tips, gotchas, etc?

Where Next?

Popular in Questions Top

JDanielMartinez
Hi! May someone helps me, please! I have two apps into an umbrella project: the first one is Database, which manages queries, and the se...
New
Brian
What is the proper way to load a module from a file in to IEX? In the python world, doing something like this pretty standard: from ....
New
openscript
Hello! Sorry for this astonishing simple question, but I’m really stuck. I try to set up the intellij-elixir plugin, but I don’t know ho...
New
jerry
Good day to you all. I have been struggling to get a query involving like and ilike to work. Can anyone assist me on this, please? pro...
New
New
Werner
Hi, I’m using Ubuntu 18.04 and after updating to OTP-24.0 yesterday i have this warning when I run “mix local.hex”: 14:57:30.512 [warn] ...
New
jononomo
I am trying to figure out how Mix knows whether the environment is test, dev, or prod -- where is this set? Thanks.
New
fayddelight
I tried installing elixir 1.11.2 erlang 23.3.4 via asdf in my zsh shell. Enabled the versions locally and globally. When I list them ...
New
LegitStack
I’m trying to make a websocket server in Phoenix or raw Elixir. I heard about gun, I think I could use cowboy, but since I’m not that sma...
New
electic
Hi, I am new to Elixir. I am trying to use the DateTime component to insert a date into MySQL however the there seems to be no way to fo...
New

Other popular topics Top

sergio
In Ruby, I can go: User.find_by(email: "foobar@email.com").update(email: "hello@email.com") How can I do something similar in Elixir? ...
New
pmjoe
I have a relationship of love and hate with Elixir. Lots of things are just absolutely right, but there are some things that are kind of ...
New
JorisKok
I have a server on AWS, and was running a load test using artillery. When looking at the Phoenix dashboard I see the Ports going to 100% ...
New
hariharasudhan94
I would like to know what is the best IDE for elixir development?
New
script
If I have a string “1000 cfu/ml” . I want to remove the characters and / and space . So the string is like this "1000" What is the ...
New
stefanchrobot
What’s the safe way to decode a JSON string into a struct? I want to avoid calling String.to_atom. Jason.decode can give me a map with st...
New
chrisalley
ExUnit now has describe blocks which is a welcome addition coming from RSpec. In the docs, it states that nested hierarchies of describe ...
New
Qqwy
Original source of discussion: This topic on the Pragmatic Programmers' Functional Web Development with Elixir, OTP, and Phoenix forum. ...
New
skosch
To my knowledge, put_in, Map.update etc. all have the one limitation of not automatically creating intermediate keys when needed (for exa...
New
romenigld
I am trying to run a deploy with docker and I successfully runned with this command: docker build -t romenigld/blog-prod . but when I t...
New

We're in Beta

About us Mission Statement