\ No newline at end of file
diff --git a/lib/frenzy_web/templates/feed/new.html.eex b/lib/frenzy_web/templates/feed/new.html.eex
deleted file mode 100644
index 49b8a2f..0000000
--- a/lib/frenzy_web/templates/feed/new.html.eex
+++ /dev/null
@@ -1,9 +0,0 @@
-<%= form_for @changeset, Routes.feed_path(@conn, :create), fn form -> %>
-
-
- <%= text_input form, :feed_url %>
-
-
- <%= submit "Create Feed" %>
-
-<% end %>
\ No newline at end of file
diff --git a/lib/frenzy_web/templates/group/index.html.eex b/lib/frenzy_web/templates/group/index.html.eex
new file mode 100644
index 0000000..20da229
--- /dev/null
+++ b/lib/frenzy_web/templates/group/index.html.eex
@@ -0,0 +1,17 @@
+Add Group
+
+
+ <%= case Enum.count(group.feeds) do
+ 1 -> "1 feed"
+ count -> "#{count} feeds"
+ end %>
+
+
+ <% end %>
+
\ No newline at end of file
diff --git a/lib/frenzy_web/templates/group/new.html.eex b/lib/frenzy_web/templates/group/new.html.eex
new file mode 100644
index 0000000..3b24ccb
--- /dev/null
+++ b/lib/frenzy_web/templates/group/new.html.eex
@@ -0,0 +1,9 @@
+<%= form_for @changeset, Routes.group_path(@conn, :create), fn form -> %>
+
+
+ <%= text_input form, :title %>
+
+
+ <%= submit "Create Group" %>
+
+<% end %>
\ No newline at end of file
diff --git a/lib/frenzy_web/templates/group/show.html.eex b/lib/frenzy_web/templates/group/show.html.eex
new file mode 100644
index 0000000..24813d4
--- /dev/null
+++ b/lib/frenzy_web/templates/group/show.html.eex
@@ -0,0 +1,29 @@
+
\ No newline at end of file
diff --git a/lib/frenzy_web/views/group_view.ex b/lib/frenzy_web/views/group_view.ex
new file mode 100644
index 0000000..11d455f
--- /dev/null
+++ b/lib/frenzy_web/views/group_view.ex
@@ -0,0 +1,3 @@
+defmodule FrenzyWeb.GroupView do
+ use FrenzyWeb, :view
+end
diff --git a/priv/repo/migrations/20190321221841_create_groups.exs b/priv/repo/migrations/20190321221841_create_groups.exs
new file mode 100644
index 0000000..a15d70d
--- /dev/null
+++ b/priv/repo/migrations/20190321221841_create_groups.exs
@@ -0,0 +1,11 @@
+defmodule Frenzy.Repo.Migrations.CreateGroups do
+ use Ecto.Migration
+
+ def change do
+ create table(:groups) do
+ add :title, :string
+
+ timestamps()
+ end
+ end
+end
diff --git a/priv/repo/migrations/20190321223329_feeds_add_group.exs b/priv/repo/migrations/20190321223329_feeds_add_group.exs
new file mode 100644
index 0000000..856b818
--- /dev/null
+++ b/priv/repo/migrations/20190321223329_feeds_add_group.exs
@@ -0,0 +1,9 @@
+defmodule Frenzy.Repo.Migrations.FeedsAddGroup do
+ use Ecto.Migration
+
+ def change do
+ alter table(:feeds) do
+ add :group_id, references(:groups, on_delete: :delete_all)
+ end
+ end
+end