Bloc giving errors when doing "bloc genkey" on terminal


#1

I followed steps here to build the directory structure for my apps but when I did “bloc genkey” I got following error messages:

Here is the curl request on another tab:

Do I need to change any configs?

Thanks!


#2

Hi @suchit

The commandline tool has been deprecated. Please use the POST route for creating users, https://developers.blockapps.net/usage/swagger/


#3

@john is there a directory structure I can follow when creating web applications. Similar to how folder structure gets created when doing Bloc init.


#4

@suchit this demo application is a pretty good structure to follow. You can see we have the ui/ directory and server/ directory which contains the middleware and smart contracts. https://github.com/blockapps/blockapps-ba/

Let me know if you have more questions on the structure :slight_smile: