Skip to content

emerayo/desafio-programacao-1b

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Programming Challenge 1B

Proposed solution to Programming Challenge 1B. The system must receive a file with sales, parse it and ingest the data.

Dependencies

  1. Ruby 2.5
  2. Rails 5.1.3
  3. SQlite 3

Instructions to install and run it

  1. Make clone of the repository
git clone https://github.com/emerayo/desafio-programacao-1b.git
  1. Open the folder where the clone is located
cd desafio-programacao-1b
  1. Install dependencies
bundle install
  1. Setup the database
rails db:create
  1. Run the migrations
rails db:migrate
  1. Start the server
rails s
  1. Open the page on the browser
http://localhost:3000
  1. To run the tests
rspec ./spec/

Português

Desafio de programação 1B

Desenvolvimento da solução do Desafio de Programação 1B. O sistema deve receber um arquivo com vendas, tratá-lo e realizar a ingestão dos dados.

Dependências

  1. Ruby 2.5
  2. Rails 5.1.3
  3. SQlite 3

Instruções para instalação e execução

  1. Faça o clone do repositório
git clone https://github.com/emerayo/desafio-programacao-1b.git
  1. Abra o diretório onde o clone se encontra
cd desafio-programacao-1b
  1. Instale as dependências
bundle install
  1. Crie o banco de dados
rails db:create
  1. Rode as migrações
rails db:migrate
  1. Inicialize o servidor
rails s
  1. Abra a página no navegador
http://localhost:3000
  1. Para rodar os testes
rspec ./spec/

About

Solution for Challenge 1B

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 77.9%
  • HTML 16.3%
  • CSS 3.2%
  • JavaScript 2.4%
  • CoffeeScript 0.2%