Giter Club home page Giter Club logo

dtesch9 / fastfeet Goto Github PK

View Code? Open in Web Editor NEW
11.0 2.0 5.0 9.36 MB

O serviço de entregas FastFeet é uma aplicação semelhante os corrêios. Administrador parte (web) e funcionarios/entregadore parte (mobile) consumindo API própria.

License: MIT License

JavaScript 93.19% HTML 0.71% Starlark 0.98% Java 1.58% Ruby 1.43% Objective-C 2.12%
reactjs react-native nodejs express jwt-authentication sequelize-orm mongodb postgresql redis redux redux-saga redux-persist unform bee-queue sentry cors bcryptjs nodemailer

fastfeet's Introduction


Logo

By Douglas Tesch


License Badge Stargazers Members

References

About the Project

The delivery service FastFeet is an application similar to the post offices. Manager (web) and employees/delivery man (mobile) consuming it's own API.

Backend

A RESTful API using Node.js with Express

🚀 Tecnologies

  • ⚡ Express — A web framework for Node.js
  • 💾 Sequelize — SQL dialect ORM for Node.js
  • 💻 Sentry — An open-source platform to monitoring errors in real-time.
  • 🔒 Bcryptjs — A library to handle password hash
  • 🐝 Bee-queue — A job/task queue for Node.js
  • 📠 Cors — A protocol that enables interaction with resources from a different origin
  • ⏰ Date-fns — A library to deal with date and time
  • 🔑 Jsonwebtoken — An internet standard for creating JSON-based access tokens
  • 📎 Multer — A Node.js middleware for handling multipart/form-data
  • 📫 Nodemailer — A module for Node.js to allow email sending
  • 👓 Youch — Pretty error reporting for Node.js that helps erros to be easier to read
  • 📝 Yup — A JavaScript schema builder for value parsing and validation
  • 👾 Express-Brute — A brute-force protection middleware for express that block massive requests.
  • 📰 Ioredis — A Redis client.
  • 📈 Express-rate-limit — A IP rate limiting middleware for Express.

Requirements ✋🏻

Install 🔥

  1. Clone this repository;
  2. Go inside the folder cd fastfeet;
  3. Run $ yarn to install dependencies;
  4. Copy the content of .env.example inside a a new archive .env then insert your credentials;
  5. Run $ yarn sequelize db:create to create the database;
  6. Run $ yarn sequelize db:migrate to run all migrations;
  7. Run $ yarn sequelize db:seed:all to run all seeds;
  8. Import fastfeet-insomnia.json that is at the root of this repository inside Download Insomnia}

Run 🔥

  1. Run $ yarn queue to run all background jobs;
  2. Run $ yarn dev to run the server;

Frontend

A ReactJS project created with create react-app

🚀 Some Tecnologies used 🔥

🚀 Helper development tools

Install 🔥

  1. Go to $ cd fastfeet/frontend;
  2. Run $ yarn to install dependencies;

Run 🔥

  1. Open another terminal, go to $ cd fastfeet/backend;
  2. Run $ yarn dev to start the server Backend;
  3. Run $ yarn dev to start the React APP;

First Login ✔️

Login:[email protected]

Password:123456

First Login

Mobile

⚠️ ANDROID ONLY ⚠️

Bare project created with react-native init

🚀 Some Tecnologies used 🔥

Most libraries used here are the same as in frontend, that's the beauty in React, but of course there are some differences.

🚀 Helper development tools

Most are also alike as frontend, but of course there are some differences.

⚠️ Requirements ✋🏻

Install 🔥

  1. Go to $ cd fastfeet/mobile;
  2. Run $ yarn to install dependencies;

Run 🔥

  1. Open another terminal, go to $ cd fastfeet/backend;
  2. Run $ yarn dev to start the server Backend;
  3. Open your emulator;
  4. Open another terminal, go to $ cd fastfeet/mobile;
  5. Run $ yarn start to start Metro Bundler;
  6. Open another terminal, inside$ cd fastfeet/backend;
  7. Run $ yarn android to run the android project;

Usage Tips

Press and hold to withdraw

Hold to fire Action

Withdraw hours limit

Withdraw hours limit

Pull to Refresh

Pull to refresh

Drop down problem

Drop down problem

Slide to go back

Slide to go back

Send picture confirmation or take again

Send picture confirmation or take again

Contato

🔗 Github

🔗 Linkedin


📝 License

This project has MIT license. Look at LICENSE for details.

Back to top ⬆️

fastfeet's People

Contributors

dependabot[bot] avatar dtesch9 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.