The Movies application is a Petal stack project that provides information about new and old movies. This README file provides an overview of the application and instructions on how to set it up and run it successfully.
Before running the Movies application, make sure you have the following prerequisites installed on your system:
- Elixir (version 1.14 or later)
- Phoenix framework (version 1.7 or later)
Follow the steps below to set up the Movies application:
- Clone the repository:
git clone <repository-url>
- Rename the
.env.example
file to.env
:
mv .env.example .env
- Update the
.env
file with the required credentials for your application. Make sure to provide the correct values for each environment variable. - Source the
.env
file to load the environment variables at runtime:
source .env
- Install dependencies:
mix deps.get
- Start the Phoenix server:
mix phx.server
- Access the Movies application in your browser at
http://localhost:4000
.
A live demo is hosted here on fly.io
The Movies application provides information about both new and old movies. You can search for movies, view details about each movie, and see ratings and release dates.
The Movies application uses data from the TMDB (The Movie Database) API. Make sure to obtain an API key/token from TMDB and update the .env
file with your TMDB API key/token.
The Movies application is open-source software licensed under the MIT license.