Giter Site home page Giter Site logo

react-node-challenge's Introduction

REACT E NODE CHALLANGE

ENG: Challenge project in React.js and Node.js of an application solving the case of a professional who needs a system to monitor his clients' treatments, as well as his accounting from each service.

PT: Projeto de desafio em React.js e Node.js de uma aplicação resolvendo o caso de um profissional que precisa de um sistema para monitorar os tratamentos de seus clientes, bem como sua contabilidade de cada serviço.

TECHNOLOGIES

Workspace:

  • Yarn workspaces;

Deploy:

  • Heroku

Backend:

  • Node.js;
  • ORM Sequelize using PostgreSQL;
  • Dependencies:

    • express;
    • cors;
    • crypto;
    • dotenv;
    • http-status-codes;
    • joi;
    • md5;
    • pg;
    • sequelize;
  • DevDependencies:

    • eslint;
    • eslint-config-airbnb-base;
    • eslint-plugin-import;
    • nodemon;
    • sequelize-cli;

Frontend:

  • Dependencies:

    • @testing-library/jest-dom;
    • @testing-library - react;
    • @testing-library/user-event;
    • axios;
    • history;
    • jwt-decode;
    • react;
    • react-dom;
    • react-phone-input-2;
    • react-router-dom;
    • react-scripts;
    • react-touch-carousel;
    • web-vitals.

RUNNING THE APPLICATION:

ENG: When cloning this project, use the "yarn" package manager with the command "yarn install" to install the packages needed to run this application.

PT: Ao clonar este projeto, use o gerenciador de pacotes "yarn" com o comando "yarn install" para instalar os pacotes necessários para executar esta aplicação.

ENG: To run the application locally, you will need to configure the following files:

PT: Para executar o aplicativo localmente, você precisará configurar os seguintes arquivos:

STEP 1/2: ".env.example" for ".env" with environment variable and value, as: DEV=true. STEP 2/2: "jwt.evaluation.key.example" for "jwt.evaluation.key" with environment variable and value, as: secret.

  • Running both workspaces.
yarn start
  • Running the backend with Nodemon.
yarn start:server-dev
  • Running the backend with Node.
yarn start:server
  • Running the frontend.
yarn start:client

Tests:

  • Running all tests.
yarn test
  • Running one test.
yarn test __tests__/integration/admin.test.js

Sequelize:

  • Drop database.
yarn db:drop
  • Create database.
yarn db:create
  • Migrate tables.
yarn db:migrate

CURRENT APPLICATION VERSION:

ENG: This version includes development of a good part of the back end and full development of the planned database. The development included tests of integration in TDD methodology throughout the back end so far, as well as adjustments when starting the front end.

PT: Esta versão conta com desenvolvimento de boa parte do back end e total desenvolvimento do banco de dados planejado. O desenvolvimento contou com testes de integração em metodologia TDD em todo o back end até aqui, assim como ajustes ao iniciar o front end.

ISSUES:

ENG: As of this date, the application has problems deploying on Heroku that have not yet been resolved. There were also delays in the schedule due to the existence of other tasks in the same period, mainly harming the development of the front end and calculations for new API consumption queries.

PT: Até esta data, a aplicação tem problema em seu deploy no Heroku ainda não solucionados. Houveram também atrasos no cronograma pela existência de outras tarefas no mesmo período, prejudicando principalmente o desenvolvimento do front end e cálculos para novas queries de consumo da API.

RESPONSIBLE:

react-node-challenge's People

Contributors

adrianomonteiroweb avatar

Stargazers

 avatar

Watchers

 avatar  avatar

react-node-challenge's Issues

PT/BR: Erro de build no Heroku usando yarn 2. ENG: Build error on Heroku using yarn 2

-----> Build failed
! The 'yarnPath' could not be read from the 'yarnrc.yml' file
It looks like 'yarnrc.yml' is missing the 'yarnPath' value, which is needed
to identify the location of yarn for this build.
To regenerate 'yarnrc.yml' with the 'yarnPath' value set, make sure Yarn 2
is installed on your local machine and set the version in your project
directory with:
$ yarn set version berry
Read more at the Yarn docs: https://yarnpkg.com/getting-started/install#per-project-install

   https://devcenter.heroku.com/articles/nodejs-support

! Push rejected, failed to compile Node.js app.
! Push failed

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.