Git Product home page Git Product logo

tienda-dss's Introduction

Tienda-DSS

Tasks to do

  • Review the documentation and plan the app --> 1 hour
  • Setup the initial config of project --> 1 hour
  • Make unit test of the features to develop --> 2 hours
  • Code the solution and make the test pass --> 3 hours
  • User test --> 1 hour
  • Deploy proccess --> 1 hour

Update 4-oct-2020 Completed task with real time spended

  • Review the documentation and plan the app --> 1.5 hour
  • Setup the initial config of project --> 1 hour
  • Make unit test of the features to develop --> 2.5 hours
  • Code the solution and make the test pass --> 4 hours
  • User test --> 15 mins

Task to do

  • Add styles and make mini store beautiful --> 2
  • Deploy proccess --> 1 hour

Description

This project represents a mini store with a pay platform integration

This are developed with:

  • Ruby version 2.6.6
  • Rails version 6.0.3.3

The project uses docker and docker-compose for development environment

  • The Docker version used is 19.03.13
  • The Docker compose version is 1.23.2

Docker compose is used to orchestrate the web/rails service and postgres service

Configuration

Initial setup

  • In order to do the initial setup run the follow command
sudo docker-compose run web bundle exec bundle install

Database setup

  • In order to create a database you can run the follow command
sudo docker-compose run web bundle exec rails db:create
  • Then run
sudo docker-compose run web bundle exec rails db:migrate
  • The project does not have a seed to populate the initial db, although is possibly to add it

Setup local server

You only need execute

sudo docker-compose up

Unit Test

The project uses RSpec to create and run unit test

  • To execute test suite run
sudo docker-compose run web bundle exec rspec spec/

tienda-dss's People

Contributors

alejandrodss avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.