Skip to content
This repository was archived by the owner on Sep 22, 2024. It is now read-only.

lambdaacademy/2015.12_elixir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VotingService

To start your Phoenix app:

  1. Install dependencies with mix deps.get
  2. Create and migrate your database with mix ecto.create && mix ecto.migrate
  3. Start Phoenix endpoint with mix phoenix.server

Now you can visit localhost:4000 from your browser.

Ready to run in production? Please check our deployment guides.

Learn more

Curl examples

Preload data(3 example talks): mix run priv/repo/seeds.exs

Commands: curl -v -X PUT -H "Content-Type: application/json" --data @t4.json localhost:4000/api/talks/3 curl -v -X POST -H "Content-Type: application/json" --data @t4.json localhost:4000/api/talks/ curl -v -X DELETE -H "Content-Type: application/json" localhost:4000/api/talks/1 curl -v -H "Content-Type: application/json" localhost:4000/api/talks/ | jq

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors