/FastFeet

:truck: :purple_heart: Order and delivery management

Primary LanguageJavaScript

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!