Skip to content

Dmadaschi/notebook-api

Repository files navigation

Desrcription

This project was made to understand and practice the structure of an API developed using Ruby on Rails.

The project is using the gem active_model_serializers adapting protocols to comply with the specifications of jsonapi.org.

Geting started

To configure the enviroment run de comand:

rails db:create db:migrate db:seed

and the script will drop the database if it has already been created, create the database, run migrations and populate tables

Runing aplication

Just run the comand:

docker-compose up

Runing tests

Start docker

  docker-compose run web bash

Then configure the test enviroment runing the comand:

rails db:migrate RAILS_ENV=test

And run the tests with:

rspec

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages