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

lanycrost
Hi everyone! I need implement if…else if…else condition from my elixir code, and anymore of this control flow structures not work proper...
New
9mm
I am constructing a JSON object (map) and I need to conditionally set a field. I’m trying to write proper elixir-way code… and I’m at a l...
New
bsollish-terakeet
Credo is smart enough to check for (something like) this: assert length(the_list) == 0 with this response: Checking if an enum is empt...
New
_russellb
I want to try my hand at web scraping. What tools/libraries do I need to use. I’m hoping to turn this into something professional so don’...
New
alice
Hey, Just curious what are the main benefits of Elixir compared to Clojure? When is Elixir more useful than Clojure and vice versa? Th...
New
qwerescape
Is there a way to get the call stack or stack trace at any point in the code? Not from exceptions, but an expression that returns how the...
New
stefanluptak
Hello everybody, usually, I use a 29" ultra-wide monitor for VSCode which can easily accomodate explorer (files panel) + file with code ...
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
wernerlaude
In AR this is so simple @articles = current_user.articles How to do in Ecto? def index(conn, _params) do current_user = conn.assig...
New
clayschick
I'm trying to create a simple query to select distinct values from a column. If I only use select and distinct I get back a list of uniqu...
New

Other popular topics Top

peerreynders
Manning 2016 Halloween weekend sale via Deal of the Day Friday, October 28 - Half off all MEAPs - code WM102816LT Saturday, October 29 ...
326 29600 154
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
aalberti333
As the title describes, I’m trying to run Enum.map() over a list of key/value pairs, where the value is a map. My data looks like this: ...
New
malloryerik
Hi, this is for people who, like me, have had some friction using .html.heex templates in VSCode. The solution seems to be, in a hyphena...
New
polypush135
As many of you may have realized by now (sorry for all the posts here) I’ve been working on a db problem where I’m trying to aggregate a ...
New
chrismccord
As promised, the first release candidate of Phoenix 1.3.0 is out! This release focuses on code generators with improved project structure...
New
chensan
I have a User schema with a :from_id field set to type :string: defmodule TweetBot.Repo.Migrations.CreateUsers do use Ecto.Migration ...
New
ashish173
I am using Ecto timestamps with postgres, I can see the timestamps() use the :naive_dateime but for my use case I wanted to store the ti...
New
stefanluptak
Hello everybody, usually, I use a 29" ultra-wide monitor for VSCode which can easily accomodate explorer (files panel) + file with code ...
New
baxterw3b
Hi guys, i’m new in the Elixir world, and i have to say, that i love it! i’m having some problem to understand anonymous functions with ...
New

We're in Beta

About us Mission Statement