Where I can get detail information to build Restful API? - intellij-idea

I developed Flutter mobile app. I need to develop a restful api for my flutter mobile app. I am using macOS and IntelliJ.
I install dart plugin. I try to create a first angular dart project and I found that there is a lib directory which has an error.
lib/generated/i18n.dart and import 'package:flutter/foundation.dart'; also
import 'package:flutter/material.dart'; couldn't found.
What is the steps to create a Angular Dart WebApp project using IntelliJ? I try to install web storm but couldn't find any community edition.
Any help please?

To create an API you need to use a back-end framework, and you would probably want to choose one depending on the languages you know.
If you want to use Dart for the API too, you can't use Angular Dart since that's a front-end framework and you can't use that to build a web API.
Simply Googling, you will find Aqueduct.
About that error: are you trying to import Flutter libraries in a Dart project?

Related

Creating a custom framework Extension for sharepoint using vue js (vuespfx)

Creating a custom extension framework for SharePoint online using the vuespfx, scaffold can't be generated?
Using the Yeoman Generator with Vue:
npm i -g generator-vuespfx, yo vuespfx
It's may help full for you, to develop the client side extension component using react js
SharePoint Framework Extension
You may choose PnP/generator-SPFx which supports VUE framework( as I test the generator with vue framework, I didn't get erros).

No option for adding New flutter Web Project in IntelliJ Dart Templates !!! Also tried Vs code, is asking for Which Dart template

I'm trying to start a new Flutter project in Intellij as well as Vs code.
Intellij there is no option provided to add a new flutter web project in Dart templates.
Vs code whenever I select New flutter Web Project after accepting the stagehand it asks for the Dart template which is why I'm stuck.??
Please help soon??
Since flutter 1.9 flutter_web is merged inside flutter, Follow the below steps to create and run your first flutter web App through IntelliJ IDEA.
Create a new flutter project.
Now change your flutter channel to master using flutter channel master
Upgrade flutter flutter upgrade
Install the flutter_web build tools flutter pub global activate webdev
Enable flutter web using flutter config --enable-web
Check available devices flutter devices and you will get a result like:
Chrome • chrome • web-javascript • Google Chrome 81.0.4044.92
Web Server • web-server • web-javascript • Flutter Tools
Inside your flutter project create myapp using flutter create myapp
Navigate inside myapp using cd myapp
Finally, run flutter run -d chrome
And you will be able to run your flutter web app into chrome. Hurray 🤟🏽🤟🏽🥳
Reference links: Building a web application with Flutter , flutter_web
It seems that the support for Flutter Web Apps was dropped in stagehand (that contains the dart templates). From this commit on github: (Dropping Flutter Web sample). Instead, this wikipage shows how to migrate/create a web package in flutter from command line.
Create your project from command-line.
Check out this tutorial. flutter.dev/docs/get-started/web
Then just open the project in IntelliJ IDE.
Install or Update the dart and flutter plugins in Intellij and/or VS Code
For Intellij
Go to [mac] Preferences>Plugins>Marketplace and search for Dart and Flutter, install it.
For VS Code
Go to View > Command Pallet and type in Extensions: Install Extensions
then type flutter and install it
Its well documented in this link
Setup Flutter

ReferenceError: cordova is not defined in MobileFirst

I am developing Chat application push notification using PubNub. I used pushnotification.js file in my Mobilefirst project as per the direction from
https://www.pubnub.com/blog/2014-12-18-sending-android-push-notifications-via-gcm-javascript-using-phonegap/
But i am getting the "ReferenceError: cordova is not defined" . How can i solve this issue in my MobileFirst Project?
Please suggest
You are not explaining at all(!) the steps you have taken in order to set this up. I am not sure what kind of support you're actually looking for with such a question.
What I Can recommend you to do is to NOT use a Hybrid app for this. Instead, assuming you're using MobileFirst Platform Foundation 7.1, you can use the "pure" Cordova application type (instead of "hybrid" from MobileFirst Studio). With this application type you will be able to more easily follow the instructions provided in that page.
This is because plug-man is not supported by Hybrid apps to install Cordova plug-ins, making it very difficult to get things working.
So go ahead and follow this tutorial first: https://developer.ibm.com/mobilefirstplatform/documentation/getting-started-7-1/foundation/hello-world/integrating-mfpf-sdk-in-cordova-applications/

Integrating Unity project into Cordova with mgcrea plugin

I have an Unity 3D project made for Android and I'm trying to port it in IOS. I created a similar project with Apache Cordova but without 3D graphic, and now I found a plugin for Cordova that promise an Unity integration with Cordova (https://github.com/mgcrea/cordova-plugin-unity). I've tried to integrate it, but I haven't understand where I must insert my Unity files into Cordova.
Unfortunately there isn't a working example and there's a lack of detailed explanation, so I would ask if anyone has already tried that plugin and eventually how it works.
Thanks in advance!

Integrate Ionic Sass Customization in IBM Worklight

I want to integrate Ionic Sass Customization in IBM Worklight hybrid mobile application. can any one help , Not sure what are the dependencies to make this work. Ionic is really cool in customization of themes in IONIC Mobile Apps.
http://learn.ionicframework.com/videos/sass/
Thanks in advance.
Because Worklight/MFP does not support the Cordova CLI and Ionic deeply integrates their CLI with the Cordova CLI, the approach I believe you should take is:
Create a skeleton app in Worklight Studio, integrated with Ionic. You can look at the Starter Application (for MFP 6.3), that also has a version using Ionic.
Once you have that, you'll need to create an app purely with Ionic, and create the theme you like the most
Then you need to copy over the CSS files or their contents, whatever, to the Worklight/MFP project and manually integrate the two (references in the HEAD or the contents injected into the CSS files
Not a nice approach, but since there is no Worklight > Cordova CLI integrate, the process is not nice.