Simple meal planner app built with Elixir and Phoenix
Setup
- Run an instance of Postgres locally
- Go into the
config.exs
file and update the database credentials - create a
.env
file in the root of the project and add the following:
# .env
export OPENAI_API_KEY="your_openai_api_key"
- Run
source .env
to load the environment variables
To start your Phoenix server:
- Run
mix setup
to install and setup dependencies - Start Phoenix endpoint with
mix phx.server
or inside IEx withiex -S mix phx.server
Now you can visit localhost:4000
from your browser.
Home Page
Meal Generator