This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:tools="http://schemas.android.com/tools" | |
package="com.baseflow.permissionhandler.example"> | |
<!-- | |
Internet permissions do not affect the `permission_handler` plugin, but are required if your app needs access to | |
the internet. | |
--> | |
<uses-permission android:name="android.permission.INTERNET"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"*": | |
core: | |
telemetryConsent: "no" | |
themes: [ | |
"one-dark-ui" | |
"base16-tomorrow-dark-theme" | |
] | |
editor: | |
defaultFontSize: 18 | |
fontFamily: "FantasqueSansMono NF,Menlo, Consolas, DejaVu Sans Mono, monospace" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const express = require('express'); | |
const router = express.Router(); | |
const Ideas = require('../model/ideas'); | |
// The Idea Model for reference | |
// const mongoose = require('mongoose'); | |
// const ideaSchema = new mongoose.Schema({ | |
// owned : { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const express = require('express'); | |
const cors = require('cors'); | |
const app = express(); | |
app.use(express.json({ extended: true })); | |
app.use(cors()); | |
// use browser to see the response | |
app.get('/stream', (req, res) => { | |
res.setHeader('Content-Type', 'application/json; charset=utf-8'); |