Skip to content

API books built with rails and based on TDD, using JWT for authentication.

Notifications You must be signed in to change notification settings

r10rivas/api-book-world

Repository files navigation

API Book World

This application is a challenge inspired by the classic build a book API.

Table of Contents

Challenge description

The basic and classic books API with some extras, this is API includes authentication and versioning.

Requirements

  • Be based on TDD.
  • Authenticate user for all endpoints.
  • Include versioning.
  • Use this modeling data.
  • Endpoints:
    • Create user.
    • V1:
      • Book index
      • Book create (They should always have their writers and genres)
      • Book show
      • Book update
      • Writer index
      • Writer create
      • Writer show
      • Writer update

How To Use

To clone and run this application, you'll need Git, Ruby, ruby on rails and Postgresql installed on your computer. From your command line:

# Clone this repository
$ git clone https://github.com/r10rivas/api-book-world.git

# Install dependencies
$ bundle install

# Create database
$ rails db:create

# Run migrations
$ rails db:migrate

# Run seed
$ rails db:seed

# Run the app
$ rails server

About

API books built with rails and based on TDD, using JWT for authentication.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published