Giter Site home page Giter Site logo

full-stack-js---code-challenge's Introduction

Desafío Full Stack JS - Challenge

Este repositorio contiene las implementaciones del desafío Full Stack JS, que consiste en desarrollar un API en Node.js + Express y un cliente en React + React Bootstrap para consumir y mostrar información proveniente de un API externo.

Clonar Repositorio

git clone https://github.com/KonixDev/Full-Stack-JS---Code-Challenge.git
  • Instalar dependencias:
  • Backend:
cd backend && npm install
  • Front:
cd front && npm install

Comandos

  • Iniciar backend:
cd backend && npm run start
  • Iniciar Front:
cd front && npm run dev

Documentación (SWAGGER UI)

Puedes acceder a la documentación aquí: DOCUMENTACIÓN

API (Node.js + Express)

Caracteristicas del backend: NodeJS 14 Standard JS Swagger

Métodos a utilizar:

  • Para listar archivos:
curl -X GET http://localhost:5000/files/data -H 'content-type: application/json'
  • Para obtener un archivo específico:
curl -X GET http://localhost:5000/files/data?fileName=test1.csv -H 'content-type: application/json'
  • Ejemplo de respuesta
[
  {
    "file": "file1.csv",
    "lines": [
      {
        "text": "RgTya",
        "number": 64075909,
        "hex": "70ad29aacf0b690b0467fe2b2767f765"
      },
      ...
    ]
  }
]

FRONT (React.JS + React Bootstrap)

Layout La aplicación en React utiliza React Bootstrap y muestra la información obtenida del API en /files/data.

Caracteristicas del frontend: Programación funcional y Hook Effects en React. NodeJS 16 React + VITE, React Bootstrap

DOCKER

Testing

El backend proporciona un comando para testing sencillo con Mocha y Chai.

cd backend && npm run test

full-stack-js---code-challenge's People

Contributors

konixdev avatar

Watchers

 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.