Skip to content

SerhatKayaa/Blog-Post-API

Repository files navigation

README

This is an example CRUD RESTFUL API project with Ruby On Rails.It is an public API.It does not include any authentication.

Things you may want to cover:

  • Ruby version -- 2.5.1

  • Rails version -- 5.2.2

Configuration

-- before start you have to use bundle install in command line

Usage

First,You should start server with rails s command. and if you want,you can use postman to see some result

Here is these things all project API

GET #index get method to see all posts.

http://localhost:3000/v1/posts

GET #show get method to see one post with id

http://localhost:3000/v1/posts/:id

POST #create post method to create a user

http://localhost:3000/v1/posts

PUT #update put method to update a user

http://localhost:3000/v1/posts/:id

DELETE #destroy delete method to destroy a user

http://localhost:3000/v1/posts/:id

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published