GithubHelp home page GithubHelp logo

cetysiot's Introduction

echo > readme.md npm init npm install express ejs --save cmd set PORT=3000 node app.js

===========================firestore nosql database frontend heavy app using angular or ionic firebase for serverless app backend firebase

https://console.firebase.google.com/?pli=1 project: CetysIoT npm install firebase-admin --save using firestore https://cloud.google.com/datastore/docs/firestore-or-datastore

https://console.cloud.google.com/iam-admin/serviceaccounts?authuser=0 Genera una clave privada nueva y guarda el archivo JSON. cetysiot-89da6b7c8cd7 https://firebase.google.com/docs/firestore/data-model

En Cloud Firestore, la unidad de almacenamiento es el documento. Un documento es un registro liviano que contiene campos con valores asignados. Cada documento se identifica con un nombre.

Un documento que representa a un usuario alovelace puede tener el siguiente aspecto:

class alovelace

first : "Ada" last : "Lovelace" born : 1815

Los documentos viven en colecciones, que simplemente son contenedores de documentos. Por ejemplo, podrías tener una colección llamada users con los distintos usuarios de tu app, en la que haya un documento que represente a cada uno:

No es necesario "crear" ni "borrar" las colecciones. Cuando se crea el primer documento de una colección, esta pasa a existir. Si borras todos los documentos de una colección, esta deja de existir.

https://console.firebase.google.com/project/cetysiot/database https://firebase.google.com/docs/firestore/quickstart?authuser=0

firestore model there are collections there are documents there are subcollections with their documents etc single queries or listening to a document or collection for changes firestore clients are unlimited and bills based on data transfer, reads, writes and deletes

=============git add .gitignore git config --global user.name "Oscar Rosete" git config --global user.email [email protected] git init git add . git commit -m "First commit" git remote add origin https://github.com/oarb-projects/CetysIot.git git push -u origin master ===modifications git add . git commit -m "Modified readme2" git remote add origin https://github.com/oarb-projects/CetysIot.git git push -u origin master

17:35 https://console.firebase.google.com/project/cetysiot/database/firestore/data~2Fcities~2FLA https://www.youtube.com/watch?v=yJ6y8m2S7oI https://firebase.google.com/docs/firestore/quickstart?authuser=0 unknown https://firebase.google.com/docs/firestore/use-rest-api?authuser=0 https://firebase.google.com/docs/firestore/query-data/listen?authuser=0

cetysiot's People

Contributors

oarb-projects avatar

Stargazers

Erick Rosete Beas avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.