Code Monkey home page Code Monkey logo

msr.codes's Introduction

๐ŸŸฆ Personal Website

Code Style: Google

A website to act as a splash page for all things I do. It's hosted on https://msr.codes/

โœจ Features

๐Ÿ“„ Scripts

Run any of the following scripts using yarn:

yarn <script>
Script Description
build Build the Next.js application, ready to be ran with start
clean Remove linter output files
dev Start the Next.js application in hot-reloading mode, for development
fix Automatically fix all linting issues in files
lint Check all files, reporting them to the console
start Start the Next.js application in production mode, requires build

๐Ÿ™‹โ€โ™‚๏ธ Don't have Yarn?

Install it using npm.

npm install --global yarn

โš™๏ธ Environment Variables

Do not push sensitive keys to GitHub. You should follow Next.js' Guide for environment variables.

This includes:

  • .env.local: Use a .env.local file for any sensitive keys. These should not be pushed to GitHub.
  • .env: Use a .env file for any application configuration that can be safely committed to GitHub, such as a PORT value.

๐ŸŒ Exposing Environment Variables to the Browser

By default, Next.js will only load environment variables in the Node.js environment and not load them in the browser.

It may be the case that, in some circumstances, it is necessary to load these values in the browser. To do this, prefix the environment variable with NEXT_PUBLIC_:

NEXT_PUBLIC_ANALYTICS_ID=foo

๐Ÿ”จ Environment variables used in this application

Use this table to store and describe the environment variables used in your application so that others can maintain your application.

Key Description Required
PORT The port that the application runs on. No
NEXT_PUBLIC_FOO An example value. No

msr.codes's People

Contributors

msrcodes avatar

Watchers

 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.