Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/elixircl/cars
A simple cars api and frontend made with Elixir and Phoenix
https://github.com/elixircl/cars
elixir graphql phoenix phoenix-liveview
Last synced: 4 days ago
JSON representation
A simple cars api and frontend made with Elixir and Phoenix
- Host: GitHub
- URL: https://github.com/elixircl/cars
- Owner: ElixirCL
- Created: 2022-02-20T16:42:53.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-02-27T11:31:34.000Z (over 2 years ago)
- Last Synced: 2024-05-01T06:45:23.121Z (7 months ago)
- Topics: elixir, graphql, phoenix, phoenix-liveview
- Language: Elixir
- Homepage:
- Size: 66.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.adoc
Awesome Lists containing this project
README
:ext-relative:
:toc: macro
:toclevels: 3++++
Elixir Cars Example
++++image:https://user-images.githubusercontent.com/292738/155880591-2bca95f4-9c83-46e3-af13-96d8e072b3bf.png[Cars]
https://ninjas.cl[image:https://img.shields.io/badge/Ninjas-CL-green.svg?style=flat-square[Ninjas.cl]] https://www.mozilla.org/en-US/MPL/2.0/[image:https://img.shields.io/github/license/ninjascl/cars.svg?style=flat-square[MPL v2]]ΒΊ
toc::[]
## π Environment setup
### Requirements
- https://elixir-lang.org/[Elixir]
- https://hexdocs.pm/mix/Mix.html[Mix]#### Run
- First run backend (`127.0.0.1:4000/graphiql`)
- Then run frontendCommand: `mix phx.server`
- Go to `127.0.0.1:4001` in your browser
#### Backend
Ensure that you have a postgresql database running.
- `postgres -D /usr/local/var/postgres`
- `mix ecto.create`
- `mix ecto.migrate`
- `mix phx.server`## π©βπ» Project explanation
This was a simple project for learning about _Elixir_ and _Phoenix LiveView_.
Maybe is helpful for you too.## π License
Unless explicitily stated, all source code is under the permissive link:LICENSE.adoc{ext-relative}[MPL v2.0 (Mozilla Public License Version 2.0)] license.
Is a copyleft license that is easy to comply with. You can combine the _MPL version 2.0_ software with a proprietary or differently licensed code.
- If you donβt modify the code inside this library, you will have to provide just a link to the library sources.
- If you modify these libs, you will have to provide just the sources for the modified files (not the entire project).
### More Info
- https://www.mozilla.org/en-US/MPL/2.0/[Mozila MPL 2.0]
- https://en.wikipedia.org/wiki/Comparison_of_free_and_open-source_software_licences[OSS License Comparison]
- https://shakuro.com/blog/software-licenses-explained/[Software Licenses Explained]
- https://choosealicense.com/licenses/mpl-2.0/[Choose a License]## π€© Credits
++++
Made with β₯ by
Ninjas.cl
++++