GithubHelp home page GithubHelp logo

yahiroryo / blog_v2 Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 7.82 MB

Home Page: blog-yahiroryo.vercel.app

Shell 0.54% Dockerfile 0.67% PHP 55.54% JavaScript 0.50% Blade 10.79% TypeScript 19.62% SCSS 12.32% HTML 0.03%

blog_v2's Introduction

ブログサイトリメイク

前回のブログサイトはめっちゃ機能もりもりだったのでシンプルなものにする

技術

Docker

ローカルを汚したくないので

Next.js

ちゃんと使ってみたかった

Laravel

シュッとAPI生やせるよね

MySQL

脳死(よくない)

vercel(Front)

vercel無料でレスポンス早くてすごすぎんか??

AWS

Lambda(Back)

Lambdaサイキョウ!!!

EC2(MySQL)

あんま金かけたくないからとりえあずEC2

ページ一覧

/works/page/{page_number}

実績一覧を閲覧できます

/works/{id}

実績の内容を閲覧できます

/blogs/page/{page_number}

ブログ一覧を閲覧できます

/blogs/{id}

ブログの内容を閲覧できます

API一覧

/api/works/page/{page_number}

説明

実績を返します

リクエスト

{}

レスポンス

{
    "current_page": "int",
    "first_page_url": "string",
    "from": "int",
    "last_page": "int",
    "last_page_url": "string",
    "links": "array",
    "next_page_url": "string",
    "path": "string",
    "per_page": "int",
    "prev_page_url": "string",
    "to": "int",
    "total": "int",
    "data": [
        {
            "id": "string",
            "title": "string",
            "description": "string",
            "created_at": "string",
        }
    ]
}

/api/works/{id}

説明

実績の内容を返します

リクエスト

{}

レスポンス

{
    "title": "string",
    "description": "string",
    "created_at": "string",
    "contents": "string(Markdown)",
}

/api/blogs/page/{page_number}

説明

ブログを返します

リクエスト

{}

レスポンス

{
    "current_page": "int",
    "first_page_url": "string",
    "from": "int",
    "last_page": "int",
    "last_page_url": "string",
    "links": "array",
    "next_page_url": "string",
    "path": "string",
    "per_page": "int",
    "prev_page_url": "string",
    "to": "int",
    "total": "int",
    "data": [
        {
            "id": "string",
            "title": "string",
            "description": "string",
            "created_at": "string",
        }
    ]
}

/api/blogs/{id}

説明

ブログの内容を返します

リクエスト

{}

レスポンス

{
    "title": "string",
    "description": "string",
    "created_at": "string",
    "contents": "string(Markdown)",
}

/api/admin/blogs/create

説明

ブログを作成します

リクエスト

{
    "title": "string",
    "description": "string",
    "contents": "string(Markdown)",
}

レスポンス

{}

/api/admin/blogs/edit

説明

ブログを編集します

リクエスト

{
    "id": "string",
    "title": "string",
    "description": "string",
    "contents": "string(Markdown)",
}

レスポンス

{}

/api/admin/blogs/delete

説明

ブログを削除します

リクエスト

{
    "id": "string",
}

レスポンス

{}

/api/admin/works/create

説明

ブログを作成します

リクエスト

{
    "title": "string",
    "description": "string",
    "contents": "string(Markdown)",
}

レスポンス

{}

/api/admin/works/edit

説明

ブログを編集します

リクエスト

{
    "id": "string",
    "title": "string",
    "description": "string",
    "contents": "string(Markdown)",
}

レスポンス

{}

/api/admin/works/delete

説明

ブログを削除します

リクエスト

{
    "id": "string",
}

レスポンス

{}

blog_v2's People

Contributors

yahiroryo avatar

Stargazers

satoshi avatar

Watchers

 avatar

blog_v2's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.