Giter Club home page Giter Club logo

nodejs.org's Introduction


Node.js Website built using Next.js with TypeScript, SCSS and MDXv2

MIT License Crowdin Badge Powered by Vercel
Build and Analysis Checks

What is this repo?

Nodejs.org by the OpenJS Foundation is the official website for the Node.js® JavaScript runtime. This repo is the source code for the website. It is built using Next.js, a React Framework.

Quick-Start Locally

npm ci
npx turbo serve

# listening at localhost:3000

Structure of this Repository

  • Page templates are in /layouts
  • Global styles are in /styles
  • Public files are in /public
  • i18n configuration is on i18n/config.json
  • Global static files are in /public/static
    • Legacy static files are in /public/static/legacy
  • All content is in /pages
    • Initial development usually happens in English: /pages/en
    • /i18n/locales/{{locale}}.json is where global localization information lives.
    • All content is in Markdown and is per locale.
    • The top of each Markdown file is a block of YAML (Frontmatter) for page-specific localization information passed to various templates.
    • The bulk of the Markdown content for each page is referenced as {children} on their respective JSX Layout (layouts/)

Contributing

This project adopts the Node.js Code of Conduct.

Any person who wants to contribute to the Website is welcome! Please read Contribution Guidelines and see the Figma Design to understand better the structure of this repository.

To translate content into other languages

If you want to help translate to other languages or improve existing translations, it is optional to work from GitHub. You can and should do it through Crowdin; this is the correct workflow.

Crowdin is an online tool that facilitates the user experience for the translator; here is more information:

Website translations are handled via Crowdin.

To help with localization, please read the Translation guide.

Deployment

Full setup is in https://github.com/nodejs/build/tree/master/ansible/www-standalone minus secrets and certificates. The webhook is set up on GitHub for this project and talks to a small Node server on the host, which does the work. See the github-webhook package for this.

Relevant Links

Code of Conduct

Contribution Guidelines

Collaborator Guide

Figma Design

Content vs Code

Dependency Pinning

nodejs.org's People

Contributors

aissaoui-ahmed avatar bethgriggs avatar danielleadams avatar dependabot-preview[bot] avatar dependabot[bot] avatar evanlucas avatar fhemberger avatar fishrock123 avatar hackygolucky avatar jasnell avatar jungminu avatar lpinca avatar mhdawson avatar mikeal avatar mylesborins avatar nschonni avatar ovflowd avatar phillipj avatar rafaelgss avatar richardlau avatar rnsloan avatar rvagg avatar stevemao avatar targos avatar trott avatar vsemozhetbyt avatar wai-dung avatar xhmikosr avatar zibbykeaton avatar zyszys 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.