mix ecto.create
mix ecto.migrate
- start server
iex -S mix phx.server
- create Person
curl -X POST -H "Content-Type: application/json" -H "Cache-Control: no-cache" -d '{ "person": { "name": "first persons" }}' "https://localhost:4000/api/people"
- create Fact
curl -X POST -H "Content-Type: application/json" -d '{ "fact": { "text": "loves craft" }}' "https://localhost:4000/api/people/1/facts"
-
Notifications
You must be signed in to change notification settings - Fork 0
zudochkin/ela_api
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Ela API
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published