Skip to content

Your typical Movie Info Web App done in Elixir+Phoenix

Notifications You must be signed in to change notification settings

adipurnama/phx-movie

Repository files navigation

Movie

Intro

This project is rewrite of this excellent PHP Laravel + Livewire tutorial project. Since laravel livewire is inspired by phoenix liveview, I figured I can also follow along using the elixir+phoenix stack.

The live version can be seen here

Setup

This app requires themoviedb API. Get your API Key & export it as TMDB_API_KEY environment variable.

export TMDB_CLIENT_API_KEY=your_api_key
export SESSION_ENCRYPTION_SALT=$(mix phx.gen.secret 64)
export SECRET_KEY_BASE=$(mix phx.gen.secret 64)
export ADMIN_USER=live_dashbaord_basic_auth_user
export ADMIN_PASSWORD=live_dashbaord_basic_auth_password

To start your Phoenix server:

  • Setup the project with mix setup
  • Start Phoenix endpoint with mix phx.server

Now you can visit localhost:4000 from your browser.

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

Learn more

About

Your typical Movie Info Web App done in Elixir+Phoenix

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published