/API-Space

Primary LanguageRubyMIT LicenseMIT

API-Space-Flight-News

This is a challenge by Coodesh

The project has been completed: 02/12/2021

It's the consumption of the API Space Flight News

Starting 🚀

These instructions will allow you to get a copy of the project running on your local machine for development and testing purposes.

Requisites 📃

  • Git;
  • Text editor;
  • Ruby 2.7.2;
  • Rails 6;
  • Docker;
  • Postgresql;

Installation 🔧

The first step is to download the repository in your machine whit git:

git init

git clone https://github.com/maclararose/API-Space.git

cd API-Space

If you use Visual Studio Code, to open the repository use in terminal:

code .

In terminal type:

$ docker-compose build -d
$ docker-compose up
$ docker exec -it api-space /bin/sh
$# rails db:create
$# rails db:migrate
$# rake article_populate:create
$# exit
$

And Done! You can see working in your machine in the address: 0.0.0.0:3000/v1

Done with 🔨 :

  • Ruby 2.7.2;
  • Rails 6;
  • Docker;
  • Postgresql;

Version 📌

1.0.1

Author ✒️

License 📄

This project is under license [MIT] 📍.