integral force - To be able to earn while learning on ICP
-
Abdulrahman Abdulsalam
Email: abdulsalamamtech@gmail.com -
Muhammad Lawan
Email: muhammedlawanrabiu@gmail.com -
Prince Ajocha
Email: princejosephpj56@gmail.com -
Abdulsalam Mohammed
Email: ammuftau74@gmail.com
This project focuses on building an AI-powered personal tutor that promotes learning about crime and anti-corruption practices through interactive features. Our solution is designed to engage users with educational content, while also incorporating gamified elements for better retention and motivation.
- Leaderboard/Grading System:
We implemented a leaderboard or simple grading system that allows users to track their progress as they advance through different content and acquire more knowledge on anti-corruption and crime prevention strategies. - Q&A Game:
A simple question-and-answer game that engage users by presenting various behavioral tricks and tips for being a dutiful global citizen. This provide an interactive learning experience while reinforcing key lessons. - Chat with AI User can chat with AI and ask human right related questions.
- Full access to the AI model from the backend canister:
We plan to fully implement HTTPS outcalls on the Internet Computer Protocol (ICP). This feature will allow canisters to directly communicate with external HTTP(S) servers. - Dynamic content:
All content both lessons and Q&A will be render dynamically from the canister using AI, this will allow the users to learn based on their experience and learning capability.
While adding these features to the project repository, we faced several challenges. Due to technical difficulties, one is that we are not proficient in the Motoko and TypeScript configuration for the frontend as it keeps populating errors, we decided to modified some part of the code to integrate our intended features more efficiently.
- Typescript build error while deploying to ICP Ninja : Dfinity Forum
For more information or inquiries, feel free to contact the team members via email: abdulsalamamtech@gmail.com.
X (Twitter - Team Lead) >> https://x.com/AbdulsalamTech
X (Twitter - Product) >> https://x.com/integralforceic
Dorahacks >> https://dorahacks.io/buidl/28855
Deployed canisters.
URLs:
local : http://ucwa4-rx777-77774-qaada-cai.localhost:4943/
Upgraded code for canister integralforce_frontend, with canister ID ucwa4-rx777-77774-qaada-cai
Module hash 6674d62a34b3baf7909421b5a386afb09d9898d970e9b40178534ed30d1f8a4a is already installed.
Upgraded code for canister internet_identity, with canister ID ufxgi-4p777-77774-qaadq-cai Deployed canisters.
URLs: Frontend canister via browser:
integralforce_frontend:
-
http://ucwa4-rx777-77774-qaada-cai.localhost:4943/ (Recommended)
-
http://127.0.0.1:4943/?canisterId=ucwa4-rx777-77774-qaada-cai (Legacy)
internet_identity:
Backend canister via Candid interface:
integralforce_backend: http://127.0.0.1:4943/?canisterId=vizcg-th777-77774-qaaea-cai&id=ulvla-h7777-77774-qaacq-cai
internet_identity: http://127.0.0.1:4943/?canisterId=vizcg-th777-77774-qaaea-cai&id=ufxgi-4p777-77774-qaadq-cai
Welcome to your new integralforce project and to the Internet Computer development community. By default, creating a new project adds this README and some template files to your project directory. You can edit these template files to customize your project and to include your own code to speed up the development cycle.
To get started, you might want to explore the project directory structure and the default configuration file. Working with this project in your development environment will not affect any production deployment or identity tokens.
To learn more before you start working with integralforce, see the following documentation available online:
If you want to start working on your project right away, you might want to try the following commands:
cd integralforce/
dfx help
dfx canister --helpIf you want to test your project locally, you can use the following commands:
# Starts the replica, running in the background
dfx start --background
# Deploys your canisters to the replica and generates your candid interface
dfx deployOnce the job completes, your application will be available at http://localhost:4943?canisterId={asset_canister_id}.
If you have made changes to your backend canister, you can generate a new candid interface with
npm run generateat any time. This is recommended before starting the frontend development server, and will be run automatically any time you run dfx deploy.
If you are making frontend changes, you can start a development server with
npm startWhich will start a server at http://localhost:8080, proxying API requests to the replica at port 4943.
If you are hosting frontend code somewhere without using DFX, you may need to make one of the following adjustments to ensure your project does not fetch the root key in production:
- set
DFX_NETWORKtoicif you are using Webpack - use your own preferred method to replace
process.env.DFX_NETWORKin the autogenerated declarations- Setting
canisters -> {asset_canister_id} -> declarations -> env_override to a stringindfx.jsonwill replaceprocess.env.DFX_NETWORKwith the string in the autogenerated declarations
- Setting
- Write your own
createActorconstructor
Build succeeded Deployment started, waiting for completion
🥷🚀🎉 Your Integralforce Frontend dapp's Internet Computer URL is ready:
https://idksx-gqaaa-aaaad-aanua-cai.icp1.io
Integralforce Backend Internet Computer URL:
https://a4gq6-oaaaa-aaaab-qaa4q-cai.icp0.io/?id=mozdu-gyaaa-aaaae-aakoq-cai
⏰ Check the timer to see how long your dapp stays deployed
ICP Ninja URL:
https://icp.ninja/editor?g=https://github.com/abdulsalamamtech/integralforce
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.







