Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hvalfangst/phoenix-api

Phoenix REST API secured with JWT
https://github.com/hvalfangst/phoenix-api

docker ecto elixir erlang exmachina exunit github-actions phoenix

Last synced: 1 day ago
JSON representation

Phoenix REST API secured with JWT

Awesome Lists containing this project

README

        

# Phoenix-Car-Leasing-API
Elixir REST API with Phoenix & Ecto

## Requirements

* Elixir
* Docker
* Linux/Unix

##

## Creating resources
The shell script "up.sh" creates our postgres container, runs migration scripts and serves our phoenix application.
```
sh up.sh
```

## Deleting resources
The shell script "down.sh" stops and deletes our postgres container.

```
sh down.sh
```

## Postman
A postman collection containing request examples has been included in the folder postman.

## Pipeline
An Elixir CI pipeline has been set up with a Github Actions Workflow. It spins up a postgresql container, runs our tests and outputs the the test coverage report.