habib786 / FastFeet

:truck: :purple_heart: Order and delivery management

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FastFeet

Order and delivery management

About the project   |    Installation   |    How to contribute

Made by Tiago Last commit on GitHub Project top programing language Languagues GitHub repo size GitHub stars

πŸ“ About the project

FastFeet is an application that aims to manage orders as well as their deliverers from a logistics company.

The project was developed over the GoStack, Rocketseat course. It is the final challenge for class 10 of BootCamp.

πŸ”§ Installation

πŸ“‘ Backend

Run in Insomnia}

  // 1 - Git Clone
  git clone https://github.com/TiagoBehenck/FastFeet

  // 2 - Copy the .env.example and set the environment variables
  cp .env.example .env

  // 3 - Run the services (Be sure to have docker and docker-compose installed)
  docker-compose up -d

    // If dont start de containers, run manually
    docker run --name fastfeetredis -p 6379:6379 -d -t redis:alpine
    docker run --name fastfeetdatabase -e POSTGRES_PASSWORD=docker -p 5432:5432 -d postgres:11


  // 4 - Once the services are running, its time to install the dependencies
  yarn install

  // 5 - With the database ok, just populate the tables
  yarn populate

  // 6 - Run the application
  yarn dev

  // 7 - Run the application queue for the mail job
  yarn queue

πŸ’» Web

  // 1 - Git Clone
  git clone https://github.com/TiagoBehenck/FastFeet

  // 2 - Copy the .env.example and set the environment variables
  cp .env.example .env

  // 3 - Installing the dependencies
  yarn install

  // 4 - Run the application (Be sure to have the API running locally)
  yarn start

πŸ“± Mobile

  // 1 - Git Clone
  git clone https://github.com/TiagoBehenck/FastFeet

  // 2 - Copy the .env.example and set the environment variables
  cp .env.example .env

  // 3 - Installing the project (Be sure to have installed the react native cli)
  yarn install

   // If you're going to emulate with android - run this command
   react-native run-android
   // If you're going to emulate with ios - run this command
   react-native run-ios

  // 4 - Run the application (Be sure to have the API running locally)
    react-native start

  // If usually use have some error, try it
    yarn start --reset-cache

  // If the images do not appear, turn the command
    adb reverse tcp:3333 tcp:3333 // API
    adb reverse tcp:8081 tcp:8081 // App
    adb reverse tcp:9090 tcp:9090 // Reactotron

The application was tested using the Android Studio emulator

:octocat: How to contribute

  • Fork this repository;
  • Create a branch with your feature: git checkout -b my-feature;
  • Commit your changes: git commit -m 'feat: My new feature';
  • Push to your branch: git push origin my-feature;

Made with β™₯ by Tiago πŸ‘‹ See my linkedin!

About

:truck: :purple_heart: Order and delivery management


Languages

Language:JavaScript 92.6%Language:Objective-C 2.2%Language:Ruby 1.5%Language:Java 1.4%Language:HTML 1.3%Language:Starlark 1.0%