• This repository has been archived on 22/Apr/2023
  • Stars
    star
    230
  • Rank 174,053 (Top 4 %)
  • Language
    JavaScript
  • Created about 8 years ago
  • Updated about 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Slack clone built with Elixir, Phoenix, and React

About

Sling is a Slack clone built with Phoenix and React. Check out the blog post on medium.

https://medium.com/@benhansen/lets-build-a-slack-clone-with-elixir-phoenix-and-react-part-1-project-setup-3252ae780a1

Getting started

To run the project locally:

Running the Phoenix app

Download dependencies

cd api
mix deps.get

Edit the database connection config in /config/dev.exs or config/dev.secret.exs with your postgres user info if needed

Create and migrate the database

mix ecto.create ecto.migrate

Start the server

mix phoenix.server

Running the React app

Install Yarn

Install dependencies

cd web
yarn

Copy .env.example contents into to a new .env file

Start the dev server

npm start