Skip to content

Rocket Seat - Ignite - Elixir - Challenge 13 - An authenticated API made with Phoenix and Guardian.

Notifications You must be signed in to change notification settings

librity/ignite_jwt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rocket Seat Ignite - JWT Authentication

Table of Contents

About

An authenticated API made with Phoenix and Guardian.

Endpoints

Built-in:

Users

Repos

Setup

Install Erlang, Elixir and Phoenix.

Bash Commands

# Create phoenix app without webpacker or html views
$ mix phx.new app_name --no-webpack --no-html

# Intall dependencies
$ mix deps.get

# Compile project
$ mix compile

# Generate linter config file
$ mix credo.gen.config

# Run linter
$ mix credo --strict

# Start Phoenix dev server on http://localhost:4000
$ mix phx.server

# Start your project as an Interactive Elixir session
$ iex -S mix

# List all configured routes
$ mix phx.routes

Tests

# Run tests
$ mix test

# Run tests w/ coverage report
$ mix test --cover

Elixir Commands

Github client:

> Github.Client.get_user_repos("teamon")
> Github.Client.get_user_repos("danilo-vieira")
> Github.Client.get_user_repos("librity")

Libs

Docs

Resources

About

Rocket Seat - Ignite - Elixir - Challenge 13 - An authenticated API made with Phoenix and Guardian.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages