Giter Site home page Giter Site logo

plang's Introduction

Project idea

The idea behind the elaboration of this project was to reconcile the functioning between several different technologies in the context of API consumption.

Challenges

When I was trying to make the puppeteer work properly inside the container in Node I noticed that it was constantly failing. After reading this article on how to install chromium in a container to make everything work properly it ended up solving the problem.

How to use

First step (build the images):

docker-compose build

Second step (orchestrate and create the containers):

docker-compose up -d

Third step (visit the website):

http://localhost

Fourth step:

Search for the product you want...

Nice to try

If you want to test any of the node apis inside the containers, to test their operation, I recommend using an API Client such as Postman or Insomnia.

To get the JSON response from the fnac-api with the POST method, type the following URL:

http://localhost/fnac

And send a json of this format:

{
  "searchProduct": "PlayStation 5"
}

To get the JSON response from the inter-api with the POST method, type the following URL:

http://localhost/inter

And send a json of this format:

{
  "searchProduct": "PlayStation 5"
}

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

plang's People

Contributors

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