Git Product home page Git Product logo

hawabot's People

Contributors

hawawou avatar sanix-darker avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

hawabot's Issues

Development

On this project, for the data management, you're going to have a nested collection of questions and answers in a kind of tree with parents and children !

In this representation, some numbers are questions, others are answers:

            5
           /  \
          1    24
         /  \
        2     3
       / \    /  \
      4   78   6    7
     / \     / \    / \
    8   9   10  11  12  19
   / \   / \
 15  16 17  18

Use json or Js object instead of the DB

JS

const faq = [
{
   text: "who are oss cameroon owners",
   answer: "Sanix and Eric",
   children: [
    {text: "How did they meet", answer: "on twitter"},
   {text: "Why is Sanix so good at programming", answer: "he likes panda"},
   ],
},

{
   text: "What is their goal",
   answer: "They don't know"
}
];

JSON

TODO

post

So I had to generate a REST API to be able to send my request from postman to my db. I first of all tried using xmysql but had this error of 'access denied could not connect to database'.
Then I now tried generating it with php but still had the same error.

#2

  • When a new item is added into the post request, all other precedent items are still inserted into the database, making an item appear several times

num 4

The children element do not display on the page. it does only in the console. The Body.js file!

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.