Skip to content

taeyzzz/phoenix-learning-json-api

Repository files navigation

TaeyAPI

Prerequisite

In this learning. I use docker postgres

docker run --name learn-postgres -p 5432:5432 -d postgres

docker run -p 80:80 \
        -e "PGADMIN_DEFAULT_EMAIL=admin" \
        -e "PGADMIN_DEFAULT_PASSWORD=password" \
        --link learn-postgres:learn-postgres \
        -d dpage/pgadmin4

Postman Document

  • Just import postman environment and use it!

To start your Phoenix server:

  • Install dependencies with mix deps.get
  • Create and migrate your database with mix ecto.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

Learning how to use Phoenix framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages