GithubHelp home page GithubHelp logo

bookstore_rails_app's Introduction

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

bookstore_rails_app's People

Contributors

dependabot[bot] avatar mend-bolt-for-github[bot] avatar rvvergara avatar stickler-ci avatar

Watchers

 avatar

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.