https://github.com/brandaoplaster/api_elixir_films
Creating a movies API using elixir and phoenix
https://github.com/brandaoplaster/api_elixir_films
elixir phoenix
Last synced: 11 months ago
JSON representation
Creating a movies API using elixir and phoenix
- Host: GitHub
- URL: https://github.com/brandaoplaster/api_elixir_films
- Owner: brandaoplaster
- License: mit
- Created: 2020-10-20T12:04:30.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-10-21T03:07:07.000Z (over 5 years ago)
- Last Synced: 2025-03-29T09:16:19.929Z (about 1 year ago)
- Topics: elixir, phoenix
- Language: Elixir
- Homepage:
- Size: 22.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# API Elixir Films :film_strip:
- Creating project in API format
```
docker-compose run web mix phx.new . --app api_elixir_films --no-html --no-webpack --binary-id
```
- Create a base
```
docker-compose run web mix ecto.create
```
- Run the server
```
docker-compose up -d
```
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`](http://localhost:4000) from your browser.
Ready to run in production? Please [check our deployment guides](https://hexdocs.pm/phoenix/deployment.html).
## Learn more
* Official website: http://www.phoenixframework.org/
* Guides: https://hexdocs.pm/phoenix/overview.html
* Docs: https://hexdocs.pm/phoenix
* Mailing list: http://groups.google.com/group/phoenix-talk
* Source: https://github.com/phoenixframework/phoenix