Skip to content

blunt-elixir/honeydew

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Honeydew

An example app built on the CELP (Commanded, Elixir, LiveView, PostgreSQL) stack.

Use this example "Honey Do" list app to experiment with CQRS/ES in Commanded. The domain is pretty simple. It's a todo list with a little extra suace allowing developers lots of creative freedom.

You'll need to have PostgreSQL setup and running on your machine. My favourite way to get PostgreSQL setup is via Docker Desktop. Once you have docker installed, you can use this command to get PostgreSQL setup on your machine.

docker run --rm --name pg-docker -e POSTGRES_PASSWORD=postgres -d -p 5432:5432 postgres

To start your Phoenix server:

  • Install dependencies with mix deps.get
  • Create and migrate your database with mix ecto.setup
  • Create and setup the Event Store with mix event_store.init
  • Start Phoenix endpoint with mix phx.server or inside IEx with iex -S mix phx.server

Now you can visit localhost:4000 from your browser.

Ready to run in production? Please check our deployment guides.

Blunt

For an example of this app ported to use blunt checkout the with_blunt branch!

Learn more

This is a SUPER rough example meant to get you started without much hassle. It's not meant to be a complete guide.

If you have any questions, feel free to reach out to me: on the Elixir Slack @threequarterspi. on twitter @threequarterspi on github @quarterpi

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Elixir 81.8%
  • CSS 13.5%
  • HTML 2.9%
  • JavaScript 1.8%