Coder Social home page Coder Social logo

robsonbs / quickorder Goto Github PK

View Code? Open in Web Editor NEW

This project forked from thiago-cardoso/quickorder

0.0 1.0 0.0 31.64 MB

Development of project for manage your restaurant and your orders, Register your orders and visualize your orders in the kitchen.

Ruby 0.42% JavaScript 66.02% CSS 18.76% HTML 13.62% SCSS 1.17% Dockerfile 0.01% Shell 0.01%

quickorder's Introduction

# Quickorder

Quickorder

Current Version Ruby Version

License

Web

Acessar projeto

Modelagem BD

Acessar Link

Mockups

Acessar Link

Screenshot

Stack the Project

  • Ruby on Rails
  • Bootstrap
  • Postgresql
  • Rspec(TDD)

Quickorder

Manage your restaurant and your orders, Register your orders and visualize your orders in the kitchen.

Features

Administration Manage your restaurant and your orders quickly and simply.

Digital Commands - Order posting place your orders through the digital command.

Kitchen view your orders according to their certain status, cancel or complete.

Populate data of access

Run seed

Index

Requirements

First step is to install the docker service:

#Linux: ubuntu,Mint
$ sudo apt-get update
$ sudo apt-get install docker-ce
$ sudo apt install docker-compose

# Fedora
$ sudo dnf update -y
$ sudo dnf install docker-ce
$ sudo dnf -y install docker-compose

For test if the service was installed with succeed, you can run the command for to check de version of docker:

$ docker --version
#Must be have the docker version: Docker version 18.06.0-ce
$ docker-compose --version
#Must


You must have installed on your machine:

- Docker
- Docker Compose

First steps


Follow the instructions to have a project present and able to run it locally.

After copying the repository to your machine, go to the project's root site and:


1.  Construct the container

docker-compose build


2.  Create of Database

docker-compose run --rm website bundle exec rails db:create db:migrate


3.  up the project

docker-compose up


4. Without turning off the server, open a new window and run the migrations

docker-compose run --rm website bundle exec rails db:migrate if necessary populate database

OBS. If the server does not create the pid file. due to gitignore it is necessary to create manually. mkdir tmp/pids Error bundle assets or webpacker run docker-compose run --rm app bundle exec rails webpacker:install

Tests

For to do the tests it is necessary in docker container running:

Test using Rspec:

Model

category

docker-compose run --rm app bundle exec rspec spec/models/category_spec.rb

employee

docker-compose run --rm app bundle exec rspec spec/models/employee_spec.rb

product

docker-compose run --rm app bundle exec rspec spec/models/product_spec.rb

order

docker-compose run --rm app bundle exec rspec spec/models/order_spec.rb

Product order

docker-compose run --rm app bundle exec rspec spec/models/product_order_spec.rb

Controller

categories

docker-compose run --rm app bundle exec rspec spec/controllers/dashboard/categories_controller_spec.rb

products

docker-compose run --rm app bundle exec rspec spec/controllers/dashboard/products_controller_spec.rb

employees

docker-compose run --rm app bundle exec rspec spec/controllers/dashboard/employees_controller_spec.rb

orders

docker-compose run --rm app bundle exec rspec spec/controllers/orders_controller_spec.rb

Authors

Project created by the following developers


Thiago Cardoso


Fabricio Comeli


Raquel Lima


Fábio Vilhena


Pompermaier

License

This project is licensed under a Apache license 2.0 - see file LICENSE for more details

quickorder's People

Contributors

thiago-cardoso avatar fabriciobonjorno avatar fvilhena avatar raquellima7 avatar pompermaier avatar

Watchers

James Cloos 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.