Git Product home page Git Product logo

find_my_coffee's Introduction

Find My Coffee

Current Version Ruby Version

API

Web

Stack the Project

  • Docker
  • Rails Api
  • Postgis
  • ReactJS

Features

  • **Web - Lists the nearest establishment of cafes by city location and Option to evaluate the establishment

Getting Started

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

Prerequisites

You must have installed on your machine:

  • Docker
  • Docker Compose
  • NPM or Yarn

Installing

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 be have the docker-compose version: docker-compose version 1.22.0

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
  1. Created database and run migrate for project API
docker-compose run --rm app bundle exec rails db:create db:migrate 
  1. Run the project API
docker-compose up - d

The api run in the port 3000 -http://localhost:3000

  1. Run the project Web
npm install or yarn install
npm start or yarn start

The Web run in the port 3001 -http://localhost:3001

Author


Thiago Cardoso

find_my_coffee's People

Contributors

thiago-cardoso avatar

Stargazers

Roman 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.