![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
generator-firebase-angular-node
Advanced tools
Yeoman generator for the FAN Stack (Firebase, Angular, Node)
Yeoman generator for creating FAN stack applications, using Firebase, AngularJS, and Node - lets you quickly set up a project following best practices. This generator also sets you up with AngularMaterial, AngularFire, and Gulp for running tasks.
Install generator-firebse-angular-node
:
npm install -g generator-firebase-angular-node
Make a new directory, and cd
into it:
mkdir my-new-project && cd $_
Run yo firebase-angular-node
:
Run gulp
for building, and serving the built app.
Client
JavaScript
, (no CoffeeScript
support yet)Jade
CSS
, Less
AngularMaterialDesign
] (https://material.angularjs.org/#/)ui-router
Yes
Server
Firebase
Yes
Google
A gulp task looks for new files in your app
folder and automatically injects them in the appropriate places based on an injection block.
less
files into public/css/*.css
js
files into public/js/index.js
Sets up a new Firebase + AngularJS + Node app, generating all the boilerplate you need to get started.
Example:
yo firebase-angular-node
The following packages are always installed by the app generator:
All of these can be updated with bower update
as new versions are released.
Yeoman generated projects can be further tweaked according to your needs by modifying project files appropriately.
A .yo-rc
file is generated for helping you copy configuration across projects, and to allow you to keep track of your settings. You can change this as you see fit.
Running gulp test
will run the client and server unit tests with karma and mocha.
Use gulp test:server
to only run server tests.
Use gulp test:client
to only run client tests.
Protractor tests
To setup protractor e2e tests, you must first run
npm run update-webdriver
Use gulp test:e2e
to have protractor go through tests located in the test/e2e
folder.
Keeping your app secrets and other sensitive information in source control isn't a good idea. To have gulp launch your app with specific environment variables, add them to the config file: config/config.js
.
Overview
├── app - Frontend part of the application(templates, angular, styles)
│ ├── 404.jade - Default template for 404 errors
│ ├── application.js - All of the js files from the js folders get concatenated in here
│ ├── favicon.ico - Favicon
│ ├── img - All frontend img assets go here
│ ├── index.jade - The default home page
│ ├── js - All the frontend js files live here
│ ├── shared - All shared templates like header and footer live here
│ ├── styles - Less files for styling go here
│ └── views - All jade templates get compiled to html and stored here
├── bower.json - Bower dependencies
├── circle.yml - Circle CI config for deployments
├── config - Where we do the bulk of our apps configuration
│ ├── config.js - Config parameters like secret keys go here
│ └── security-rules.js - Firebase security rules
├── gulpfile.js - Gulp taskrunner config
├── karma.conf.js - Karma testrunner config
├── package.json - Node dependencies
├── protractor.conf.js - E2E test config for protractor
├── routes - Server side routes
│ ├── index.js - Default express routes for server api
│ └── users-routes.js - Users express routes for server api
├── server.js - Node server app
└── test - Tests
├── client - Directory to hold client test files
├── e2e - Directory to hold e2e test files
└── server - Directory to hold server test files
When submitting an issue, please follow the guidelines. Especially important is to make sure Yeoman is up-to-date, and providing the command or commands that cause the issue.
When submitting a PR, make sure that the commit messages match the AngularJS conventions.
When submitting a bugfix, try to write a test that exposes the bug and fails before applying your fix. Submit the test alongside the fix.
When submitting a new feature, add tests that cover the feature.
See the travis.yml
for configuration required to run tests.
FAQs
Yeoman generator for the FAN Stack (Firebase, Angular, Node)
The npm package generator-firebase-angular-node receives a total of 13 weekly downloads. As such, generator-firebase-angular-node popularity was classified as not popular.
We found that generator-firebase-angular-node demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.