rioam2 / starter-firebase-nextjs Goto Github PK
View Code? Open in Web Editor NEW๐ Starter code for React.js web applications supported with SSR by Next.js on Google Firebase Cloud Functions
License: MIT License
๐ Starter code for React.js web applications supported with SSR by Next.js on Google Firebase Cloud Functions
License: MIT License
Add support for automating setup by giving an option to create firebase projects for production and staging environments seperately
Due to lack of testing on projects without a staging environment setup, CI/CD tests fail when preview:staging
is called. Tests should point to preview:production
server when no Staging environment is setup.
Add chai
for assertions and possibly mocha
for unit/functional testing and cypress
for integration testing...
Tests should be run before commits are signed/pushed. Use Husky to test only staged/indexed files using git stash --keep-index
.
Additionally, all files should be linted to maintain consistent code style.
Directories for unit tests and integration tests should be consolidated under a common tests/
directory in the repository root.
Because of how merging will be managed, it will be beneficial to have package.json sorted by key before every commit. This can be done with the sort-package-json
package from npm. Adding this as a development dependency is a sufficient alternative to using npx
. Husky should be used to sort keys before each commit made.
Similar to how forked repositories work, update child clones/instances of this template repository with updated commits using git cherry-picking.
I have developed a separate tool for this, git-upstream-template
, which should handle merging details and the overall interface.
git-upstream-template
should be implemented to keep child clones/instances up-to-date/even with this repository.
"functions": {
"source": ".",
"ignore": [
"**/**",
"!dist/",
"!package.json"
]
},
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.