Skip to content

jpbrab0/blog-engine-elixir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blog Engine

Presentation

This project is for study elixir, phoenix, postgres, ecto, graphql and anouthers technologies.

And is builded with:

  • Elixir
  • Phoenix
    • Jason
    • Plug
  • GraphQL
  • Ecto
  • Docker-Compose

Installing the project

First you need clone of the project to your computer:

With https:

git clone https://github.com/jpbrab0/blog-engine-elixir.git

With ssh:

git clone git@github.com:jpbrab0/blog-engine-elixir.git

With Github CLI:

gh repo clone jpbrab0/blog-engine-elixir

Setting up the database

To setup the database you need installed on your computer docker-compose and docker.

If you have installed it on your computer, you can run this command to create database with docker-compose:

docker-compose up -d

Running the project

  • First you need:
    • Install dependencies with mix deps.get
    • Create and migrate your database with mix ecto.setup
    • Start Phoenix endpoint with mix phx.server

Endpoints

Yet not have none route, because this api is builded with graphql, but you can make graphql query to get the data.

Learn more about Phoenix

Todo List

  • View Authors
  • View a single Author
  • Create Authors
  • Edit Authors
  • Delete Authors
  • View Posts
  • View a single Post
  • Create Posts
  • Edit Posts
  • Delete Posts
  • Creating Migrations

About

A blog engine with 💧Elixir and 🦅Phoenix

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages