Giter VIP home page Giter VIP logo

thesuperfastsolver's Introduction

TheSuperFastSolver

Solver that can calculate the numerical result of any of the functions specified by the user.

Folders and files of interest

functionSolver/
    solver_gui/         - The front-end project written using React and Redux (Javascript)
    solver_service/     - The  back-end project written in Python 3.6
    docker-compose.yaml - docker-compose that runs the fron-end, back-end and mongo-database
    build_images.sh     - Builds the solver_gui and solver_service images
    README.md           - You are here

It is very important to read the README.md files located in the solver_gui and solver_service folders before starting to look at the code.

Run this project

Using docker

$ ./build_images.sh
$ docker-compose up -d

You can now go to localhost:80 to see the front-end.

The back-end is on localhost:4001/v1. If you go to localhost:4001/v1/ui you will see a pretty gui that shows all the endpoints on the back-end.

Do it yourself

I see you are a person that takes matters into his own hands

Solver Service

To run the the solver_service you can go to the solver_service folder and do

pip install -r requirements.txt

to install the dependencies (you should have a venv activated at this point). Now we can run the application in dev mode

python application.py

or usign a WSGI

uwsgi --http :4001 -w application:application -p 16

Solver Gui

Go the the solver_gui directory and do

npm install
npm start

These two commands install the dependencies and then start a dev server

Database

You could still use a mongo database by doing

docker run --name some-mongo --net=host -d mongo

If you don't, you need to have the mongoDB running in your machine and available on port 27017

thesuperfastsolver's People

Contributors

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