Skip to content
This repository was archived by the owner on Nov 3, 2022. It is now read-only.

CodeforChemnitz/SensorAPI-phoenix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SensorApi

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.

Tutorials used

Testing with cURL

Fetching all users: GET /v1/users

curl http://localhost:4000/v1/users

Create new user: POST /v1/user

curl -X POST -H "Content-Type: application/json" -d '{"user": {"email": "bla@fasel.de", "password": "test"}}' http://localhost:4000/v1/users

Learn more about Elixir

Learn more about Phoenix Framework

About

SensorAPI REST service build with Phoenix Framework and Elixir

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors