Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 556 Bytes

README.md

File metadata and controls

34 lines (22 loc) · 556 Bytes

Sample Application

Requirements

  1. Elixir 1.7.x
  2. PostgreSQL 10.x

Project structure

  • Api (apps/api) - Web API layer
  • Core (apps/core) - data layer

Setup

  1. Configure database credentials:
cp apps/core/config/secret.exs.example apps/core/config/dev.secret.exs
cp apps/core/config/secret.exs.example apps/core/config/test.secret.exs
  1. Setup database:
mix core.setup
  1. Start the server and console
iex -S mix phx.server
  1. Access the API under http://localhost:4000.