export const FETCH_POSTS = "FETCH_POSTS";
export const FETCH_POSTS_SUCCESS = "FETCH_POSTS_SUCCESS";
export const FETCH_POSTS_ERR = "FETCH_POSTS_ERR";

export const CREATE_POST = "FETCH_POSTS";
export const CREATE_POST_SUCCESS = "FETCH_POSTS_SUCCESS";
export const CREATE_POST_ERR = "FETCH_POSTS_ERR";

export const ROOT_URL = "http://reduxblog.herokuapp.com/api";
export const API_KEY = "?key=5844894798465456";

export const INITIAL_STATE = {
    allPosts: [],
    post: null
};