Coder Social home page Coder Social logo

rs_bc_fastfeet's Introduction

GitHub contributors GitHub forks GitHub stars GitHub issues GitHub LinkedIn

Clique aqui para versão em Português.

Table of Contents

💥 About The Project

Orders

Description

"Fastfeet" it's a challenge created by Rocketseat for its students to create the whole application from scratch to fully working software. The idea is to use the skills learned in the GoStack Bootcamp, with the technologies Node.js, React and React Native.

The software is a fictitious transporter app and it has the following features:

  • deliveryman, order, and recipients (create, edit, delete)
  • deliveryman receive an email when an order is created or canceled
  • each deliveryman can only do 5 deliveries per day
  • file upload
  • Pickup and deliveries confirmation
  • Pickups are allowed between 08h and 18h

More details

⚙️ Built With

Tools

⬆️ Back to top

Common (Back-end, Front-end)

⬆️ Back to top

Back-End

⬆️ Back to top

Front-End

⬆️ Back to top

🚀 Getting Started

To get a local copy up and running follow these simple steps.

📋 Prerequisites

⬆️ Back to top

⚡ Installation

Docker Installation

  • Run the commands below to create the required containers

    #Create a Postgres container with a fastfeet database
    docker run --name pg_fastfeet -e POSTGRES_PASSWORD=postgres -e POSTGRES_DB=fastfeet -p 5432:5432 -d postgres
    #Create a Redis container
    docker run --name rds_fastfeet -p 6379:6379 -d -t redis:alpine

⬆️ Back to top


FastFeet Installation

  • Clone the rs_bc_fastfeet
    git clone https://github.com/jvitormf/rs_bc_fastfeet.git

⬆️ Back to top


Back-end Installation

  • Navigate to the backend folder and run the command below to install the required packages

    yarn
  • In the backend folder, create a .env file with the .env.example and fill it with the required variables, (APP_SECRET and Mail variables)

    • You can use Mailtrap to get the info for the Mail variables
  • Run the commands below to create the database tables.

      yarn sequelize db:migrate
  • Run the commands below to populate the database tables.

      yarn sequelize db:seed:all
  • To sign in, use [email protected] email and password 123456

  • And finally to let the API up and running

      yarn dev
  • Open another terminal and run the command yarn queue to start the mail process.

⬆️ Back to top


Front-end Installation

  • Navigate to the frontend folder and run the command below to install the required packages

    yarn
  • To let the Frontend up and running

    yarn start

⬆️ Back to top

💡 Contributing

Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature)
  3. Commit your Changes (git commit -m 'Add some Feature')
  4. Push to the Branch (git push origin Feature)
  5. Open a Pull Request

⬆️ Back to top

📝 License

Distributed under the MIT License. See LICENSE for more information.

⬆️ Back to top

📧 Contact

João Vitor - [email protected]

LinkedIn - https://www.linkedin.com/in/jvitormf/

Project Link: https://github.com/jvitormf/rs_bc_fastfeet

⬆️ Back to top

❗ Acknowledgements

⬆️ Back to top

rs_bc_fastfeet's People

Contributors

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