gabrielmaialva33 / soc-ex-api

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

Home Page:https://api.alucard.fun/dev/dashboard

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


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


πŸ”– About

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


πŸ’» Technologies

πŸ“¦ Installation

# 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

πŸ”§ Configuration

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

# 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

πŸ“ Documentation

# Use insomnia or postman to test the routes

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

✍️ Author

Maia
Maia

License

MIT License

About

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

https://api.alucard.fun/dev/dashboard

License:GNU Affero General Public License v3.0


Languages

Language:Elixir 98.9%Language:Dockerfile 0.7%Language:Shell 0.5%