Giter Site home page Giter Site logo

reseci's Introduction

Introduction

This projects has two major components the backend built with jaseci and the frontend with remix. The main component is the backend . Through jaseci we are able to expose many apis that can carry out crud functionality and processes. All these Apis are avaliable to any user with the proper credientials.These apis allow for fine control of the application. The main endpoint that will be hit when a email is received can be replicated by hitting the end point 'email_trigger'

Getting Started

How to run the application in docker

  1. open a terminal in the root of the code directory.
  2. Build the Image for the application by running :
docker build -t sbm -f Dockerfile .
  1. Run the Image. This will start a jaseci server will all the AI modules loaded . You can check localhost:8000 to see if the container is running.

`Note : rename the container to sbm by using this command :

docker rename [container_id] sbm
  1. Create a Superuser so you can login to the server by running :
docker exec -it [container ID] jsserv createsuperuser
  1. You can then log in to the server by running the following command on the docker container :
docker exec -it sbm jsctl -m

This will launch a jaseci terminal .

  1. Build you Jac Application and log in to your server :
script scripts/build
script scripts/load

This will get you server up and ready to make API calls.

Run UI in Docker

  1. cd in to frontend

  2. Replace the enviroment variables with your server url and token .

  3. Run this to build:

docker build -t remix -f remix.DockerFile .
  1. Run this to start the container :
docker run -p 3000:30000 remix

Build and Test

all walkers are essentially an api. To call any of the apis, make a post request to http://locahost:8000/js/walker_run with your user token.

the body of the json body will follow this format :

{
    "name_of_walker",
    "ctx" : {
        "attribute_1" : "value",
        "attribute_2" : "value"
    }
}

Future work

1.Expose public call back url

reseci's People

Contributors

dominicbraam avatar timothy-shiwprasad 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.