Smack is a Slack clone built with Phoenix and React. I built this following Ben Hansen's excellent blog post on medium. What a great introduction to Pheonix, thanks Ben!
To run the project locally:
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
Install Yarn
Install dependencies
cd web
yarn
Copy .env.example
contents into to a new .env
file
Start the dev server
npm start