About the project | Getting started | How to contribute | License
-
This is an open source project of an artificial intelligence chatbot capable of learning new answers. This project was done using html, css (Bootstrap 4), javascript (JQuery) and Firebase.
- First, go to the Firebase Console and create a new project.
- Once created, click on
add app
and select theweb
option, give the app a nickname and then copy the app’s configuration, which looks something like this:
const firebaseConfig = {
apiKey: "000000000000000000000000000000000000000",
authDomain: "nino.firebaseapp.com",
databaseURL: "https://nino-default-rtdb.firebaseio.com",
projectId: "nino",
storageBucket: "nino.appspot.com",
messagingSenderId: "000000000000",
appId: "1:000000000000:web:0000000000000000000000"
};
- Finally, create a file called
config.js
inside thejs
folder and paste the configuration into it, exactly as below:
// js/config.js
var config = {
API_KEY: '000000000000000000000000000000000000000',
AUTH_DOMAIN: 'nino.firebaseapp.com',
DATABASE_URL: 'https://nino-default-rtdb.firebaseio.com',
PROJECT_ID: 'nino',
STORAGE_BUCKET: 'nino.appspot.com',
MESSAGING_SENDER_ID: '000000000000',
APP_ID: '1:000000000000:web:0000000000000000000000'
};
- Now, open the
index.html
file in your browser and have fun!
- Fork this repository;
- Create a branch with your feature:
git checkout -b my-feature
; - Commit your changes:
git commit -m "feat: my new feature"
; - Push to your branch:
git push origin my-feature
.
Once your pull request has been merged, you can delete your branch.
This project is under the MIT license. See the LICENSE file for more details.
Made with ❤️ by John Emerson 👋 Get in touch