Building my first smart contract application - ethereum

I'm new to the dApps world but I would like to learn more by trying to build a blockchain-based application that helps to authenticate products.
for example, if we have a Gucci bag, this application would help us to know if it is fake or not.
I'm lost in understanding the workflow of the application, what I'm understanding so far is this:
create the product record: in this stage, the product is added to the blockchain and the QR code is created.
verify the product: application would scan the product and check if this product exists in the nodes of the blockchain or not.
I'm indenting to build this application with truffle framework.
can anybody advise or guide me to any sources that could help me in this project?
thanks in advance.

I think you should start by making all Truffles Tutorial : https://www.trufflesuite.com/tutorials
The Solidity docs : https://solidity.readthedocs.io
This Kauri article helps too.
https://kauri.io/remix-ide-your-first-vyper-smart-contract/15b95281c17a4954a5278865bbc0f515/a

Related

Update Local JSON Files after React App Build

I have a rather complicated question, therefore I want to give a small preface of what I want to accomplish, but feel free to Skip to the question part, if this is to long for you. :)
PREFACE:
I currently study computer science as my second bachelor and work part time for a company that is in the automotive industry and we are engineering electric components for an OEM. We use Citrix for our daily business. I got assigned by our project manager to implement a software which visualizes and tracks our KPI, like open tickets etc.. Simultaneously it should work a bit like a project management tool, add comments etc.
Due to the fact that we work for the OEM and use Citrix I can't build any Software that needs to be "installed" in the IT eco system of the OEM. Therefore I decided to "mis-use" web-technologies, such as React.
QUESTION PART:
I currently develop a React App together with some other libraries like Chart.js.
My plan is to run the npm build script and then take the whole build directory and put it up on our companies network drives from which one can open the index.html and therefore use the tool.
Concurrency should not be an issue since only a handful of people, mainly our CEO will use this tool. I have done this before with static "websites" and there obviously everything works just fine.
The issue now is, that I get updated JSON files in which the project KPIs are saved every month.
My goal initially was to just update the JSON files of my built React Website and consume that data. But this doesn't work.
So is there any way, that I setup up the whole thing, so that I have some separate directory like data in my build directory and that the React App reads and writes to these JSONs after the React App is already built? Can it help to built an Electron App around that and should this then still work at our OEM customer?
I hope this was not too confusing. Thanks for everybody who took their time! have a nice day :)

Stuck at the process to complete a Basic Web Development Project

Background:
I've been given a project to make an small employee portal for an organization. This is a Full Stack Web Development project, since the only thing provided to me are excel worksheets as the organization's data. It has to be run within the organization, with multiple users using it at the same time.
Project Deadline: 28th June ~ 10 days
Problem:
I've never made a web development project before. I have very basic knowledge of Dreamweaver Tool, html, JavaScript. My programming skills are fine in general, and I'm competent in C#, good at C++.
What should I do to complete this project? I am all for learning everything and understanding all the languages, but just searching through the process; Making a Front End, Server,.. and all these different frameworks - I'm panicking and don't know what is my next step to take.
I've mapped all the business flows and made a prototype. I just need to start the actual development, but I don't know which next step to take.
If you have a good knowledge of relational DBMS then you can use CakePHP to create your application quickly. It provides a feature called Cake Bake that can generate the source code for complete application using CLI.
You can refer:
https://cakephp.org/
https://book.cakephp.org/bake/1.x/en/index.html
This will really help you for the rapid application development. I hope this will help you.

microsoft custom translator deployment failed

I successfully trained a few models on the Custom Translator portal which I cannot deploy. I tried several times, but each time I start the deployment I get a "Deploymentfailed" status after a while.
Is there anything I should bear in mind or anything I can do about that?
Thanks
I had the same issue and the answer is either that you exceed your quota of 3 deployed models or you are trying to deploy a model in a project where a model is already deployed. Hope this helps.
I just wanted to let you know that we have fixed the deployment process. Please retry your deployments now.

First application with wit ai

I am working on a chat application with wit-ai. I have created a hello world but I am not getting how to provide my function with have business logic to the application.
Help will be really appreciated. Thanks.
Did you follow the quickstart? There is a section (#6) on "Implementing the business logic of the bot".
Basically the business logic resides in your app.
The SDKs on github provide also a few examples (e.g. NodeJS).
Hope this helps!

Open source requirements management tool

Hi i did my search but was not able to find a proper answer to my question. I am looking for a simle req. mgmt tool where I can assign unique ID s to each requirement and trace each ID to a test case. It is amazing that there are no solutions I can find out there. Excell and word does not cut it since I can not assign unique IDs and do traceability. I am hoping someone out there will have an answer.
Thank you all for your help.
I don't know if this convenient for you but I would suggest Trac. It is a nice open source tool whch you could setup in your own server. Please be aware that this is a general purpose issue management tool, and it is not adjusted to test cases management. It can also integrate with SVN and GIT source versioning tools. Trac is based on a ticket creation logic and on a wiki functionality. It also provides milestones, deadlines and other functionality related with the project management of a software project.
Hope I helped!
There is one that I'm using regularly to track requirement to code and requirement to test-case.
It's called reqflow and it's in Github:
http://goeb.github.io/reqflow/
Hope this help.