Dtesch9 / fastfeet

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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


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:admin@fastfeet.com

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 ⬆️

About

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


Languages

Language:JavaScript 93.2%Language:Objective-C 2.1%Language:Java 1.6%Language:Ruby 1.4%Language:Starlark 1.0%Language:HTML 0.7%