https://github.com/logflare/logflare-logger-umbrella-distillery-example
https://github.com/logflare/logflare-logger-umbrella-distillery-example
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/logflare/logflare-logger-umbrella-distillery-example
- Owner: Logflare
- Created: 2021-02-09T15:29:59.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-02-09T15:44:25.000Z (over 5 years ago)
- Last Synced: 2025-02-13T13:25:39.224Z (over 1 year ago)
- Language: Elixir
- Size: 22.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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:
```bash
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:
```bash
mix core.setup
```
1. Start the server and console
```bash
iex -S mix phx.server
```
1. Access the API under http://localhost:4000.