Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/gabrielmaialva33/soc-ex-api

Soc Ex is a social experiment that uses the Phoenix framework to create an API.
https://github.com/gabrielmaialva33/soc-ex-api

api api-rest elixir elixir-lang openapi3 phoenix phoenix-framework

Last synced: 5 days ago
JSON representation

Soc Ex is a social experiment that uses the Phoenix framework to create an API.

Awesome Lists containing this project

README

        




Soc Ex Api


A Social Network in Phoenix



wakatime
GitHub top language
GitHub language count
Repository size
License

GitHub last commit
Maia


About   |   
Technologies   |   
Installation   |   
Configuration   |   
Documentation   |   
License


## :bookmark: About

**Soc Ex** is a social experiment that uses the [Phoenix](https://www.phoenixframework.org/) framework to create an API.


## :computer: Technologies

- **[Elixir](https://elixir-lang.org/)**
- **[Phoenix](https://www.phoenixframework.org/)**
- **[Docker](https://www.docker.com/)**
- **[PostgreSQL](https://www.postgresql.org/)**

## :package: Installation

```bash
# clone the repository
git clone https://github.com/gabrielmaialva33/soc-ex-api.git
# enter the directory
cd soc-ex-api
# install the dependencies
mix deps.get # or mix deps.get --only prod
# edit `config/dev.exs` and configure your database or use the environment variables
nano config/dev.exs # or vim config/dev.exs
# run the database migrations
mix ecto.setup # or mix ecto.setup --only prod
# start the server
mix phx.server # or mix phx.server --only prod
```

### :wrench: **Configuration**

open the `config/dev.exs` file and configure your database

```elixir
# Configure your database
config :soc_ex_api, SocExApi.Repo,
username: "postgres",
password: "postgres",
database: "soc_ex_api_dev",
hostname: "localhost",
show_sensitive_data_on_connection_error: true,
pool_size: 10
```

### :memo: **Documentation**

```md
# Use insomnia or postman to test the routes

file `soc-ex-api.yaml` in root directory
```

### :writing_hand: **Author**

| [![Maia](https://avatars.githubusercontent.com/u/26732067?size=100)](https://github.com/gabrielmaialva33) |
|-----------------------------------------------------------------------------------------------------------|
| [Maia](https://github.com/gabrielmaialva33) |

## License

[MIT License](./LICENSE)