Skip to content

rvvergara/bookstore_rails_app

Repository files navigation

bookstore-rails-api

standard-readme compliant

JSON API app build using Ruby on Rails

App generated using this custom Rails Template

Version 1 Features:

  • User account creation and update
  • Token authentication using devise and jwt
  • Request authorization using pundit
  • Database search using pg_search
  • Model and request specs using rspec-rails and factory_bot_rails

Background

With frontend frameworks and libraries increasing the complexities of processes that happen on the client side, we can now build simpler backend applications. REST API's connect such client-side applications to the database.

I built this backend API mainly for the application I built using React and Redux (as well as a server-rendered version using Next JS).

Table of Contents

Main Technologies used

  • Ruby on Rails
  • PostgreSQL
  • Devise
  • JWT
  • Pundit
  • Jbuilder
  • PG Search (for search capability)
  • RSpec
  • FactoryBot

Install

Follow these steps:

  • clone this repo
  • cd bookstore-rails-api
  • bundle

Usage

rails s

Goto localhost:3000

Use either httpie on the terminal or Postman to do requests

See this React Redux app as showcase for how the API is utilized.

Maintainer

Ryan

Contributing

Ryan

PRs accepted.

License

MIT © 2019 Ryan Vergara

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •