Skip to content

A quick and dirty example of some Elixir/Phoenix learnings (currently deactivated)

Notifications You must be signed in to change notification settings

yohanmishkin/weather-station-back

Repository files navigation

This project was meant to be a quick and dirty example of some Elixir/Phoenix learnings.

Live site: https://weatherstation.xyz/

Frontend repo: https://github.com/yohanmishkin/weather-station-front/

WeatherStation

To start your Phoenix server:

  • Install dependencies with mix deps.get
  • Create and migrate your database with mix ecto.setup
  • Install Node.js dependencies with cd assets && npm install
  • 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

AGENT TEST DEBUGGING https://elixir-lang.org/getting-started/mix-otp/agent.html https://hexdocs.pm/elixir/Agent.html#stop/3 https://elixirforum.com/t/designing-an-agent-with-side-effects-on-start-link/25576/12

Web PeopleController Get(id) People.get(id) |> json()

GetAll()
  People.get_all()    
  |> json()

Application People.get_all() RolodexGetServer.get('people')

Person.get(id) RolodexGetServer.get('people') |> find(id) |> Forecast.get(person.address)

Person forecasts: [] address id name temperature

Forecast shortDescription temperature

RolodexGenServer start_link() fetch_people

About

A quick and dirty example of some Elixir/Phoenix learnings (currently deactivated)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages