/slack-clone-vuejs-elixir-phoenix

This Project is a Slack clone built with Phoenix and VueJS.

Primary LanguageJavaScriptMIT LicenseMIT

About

This Project was inspired by Slack clone built with Phoenix and React

This Project is a Slack clone built with Phoenix and VueJS.

slack clone preview

Getting started

To run the project locally:

Running the Phoenix app

Install Elixir

Create api/config/dev.secret.exs and add the database connection config with your postgres user info.

Something like:

use Mix.Config

config :sling, Sling.Repo,
  username: "your_postgres_user",
  password: "your_postgres_password"

Download dependencies

cd api
mix deps.get

Create and migrate the database

mix ecto.create
mix ecto.migrate

Start the server

mix phoenix.server

Running the VueJS app

Install Yarn

Install dependencies

Note that this is /web, not /api/web

cd web
yarn

Start the dev server

npm run dev