Giter VIP home page Giter VIP logo

test-stack-repo4's Introduction

Hugo Hugo Azure

GitHub stars

Use this stack to spin up a static website in seconds.

Why should you use this stack?

You can spin up your own personal website in seconds. This stack uses nextjs to generate the contents. Next.js gives you the best developer experience with all the features you need for production: hybrid static & server rendering, TypeScript support, smart bundling, route pre-fetching, and more. No config needed. Read more about next.js

Deployment happens on Azure Cloud via a Azure Static Website. This stack uses an Azure Github app to help you with the Azure setup.

The stack also sets up a proper Github CI/CD environment by taing care of the following things

  1. Branch Naming convention - You can use any branch prefixed with "dev" as your development environment.
  2. Branch Protection Setting - Developers working on this branch can work freely and push changes without a PR and a code reviewer. This facilitates quick development. However the master Branch is protected and it needs a Pull request to merge with 2 reviewers approving it. The Reviewers should be defined in CODEOWNERS file.
  3. Enable Security alerts - A workflow will be setup for you to enable Dependabot alerts to detect vulnerabilities.
  4. CodeQL Security Analysis - Discover vulnerabilities across a codebase with CodeQL, our industry-leading semantic code analysis engine

What are the inputs to pass while setting up the stack?

# This is needed for stack initialization
- NODE_VERSION

# This is needed for stack initialization
- NEXTJS_VERSION

# This is needed for dependabot workflow
- NPM_PASSWORD

# created by github stack initialization to be used by sendgrid action
- SENDGRID_API_KEY

# You dont have to pass this. Azure OIDC app will set the secret 
- PROD_SPN_ID

Github apps installed with this stack

Azure

Version summary

nextjs version (17.0.2)

How to setup local development server?

# to start a local development environment, and view in browser.
npm run dev
open http://localhost:3000 

# to run tests
npm test

# to generate a production build
npm run build

Learn more

Nextjs

Learn more about next.js from the official tutorial. Visit https://nextjs.org/docs to view the full documentation.

Azure Cloud

Learn more about azure from the official site. Visit azure static website to view the official documentation.

Other Useful links

Security guide

Please see our guide lines for reporting issues related to security.md.

Contributor guide

Please see our guide lines for contributing.md.

Contributors

test-stack-repo4's People

Contributors

kmkumaran avatar

Stargazers

 avatar

Watchers

 avatar  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.