Skip to content

About

This application uses Rails 6, follows the JSON specification, incorporates JWT, and implements various methods to optimize and cache the API.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

245 Commits

Folders and files

Repository files navigation

Title

Market place api application by AC Alexandre Calaça


Description

Application based on the book "API on Rails 6" written by Alexandre Rousseau. This application uses Rails 6, follows the JSON specification, incorporates JWT, and implements various methods to optimize and cache the API.


Features

It's a market place app written in Rails 6, it's based on the book API on Rails 6. It uses:

  • Git for version control
  • JSON for responses
  • unit and funcional tests test end-points
  • JSON Web Tokens (JWT) to set up authentication
  • JSON:API specification
  • Optimization and caching the API

Setup

Requirements

  • Ruby
  • Rails
  • Node
  • Postgresql

Usage

  1. Create the database

rails db:create

  1. Perform migrations

rails db:migrate

  1. Install gems and dependencies

bundle install yarn install

  1. Populate the database

rails db:seed


Comments

FastJSON API uses serializers. Serializers represent Ruby classes that will be responsible for converting a model into a Hash or a JSON.


License

It's available under the terms of the MIT License.

About

This application uses Rails 6, follows the JSON specification, incorporates JWT, and implements various methods to optimize and cache the API.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages