Skip to content

Instantly share code, notes, and snippets.

View niksseif's full-sized avatar
🐠

NikSeif niksseif

🐠
  • Full stack web developer/ Creative Programmer
  • San Francisco
  • X @Niksseif
View GitHub Profile

React Router Prework

This gist contains a short assignment we'd like everyone to complete before our formal lesson. The prework involves reading some of the React Router documentation, and will allow us to keep the lesson more hands on.

Instructions

  1. Fork this gist
  2. On your own copy, go through the listed readings and answer associated questions

You will not be turning this in; it's for your own understanding/learning/benefit 😁

@niksseif
niksseif / ReactNative+Expo.md
Last active April 9, 2023 16:39
Getting Started with React Native and Expo

Getting Started with React Native and Expo: An Introduction to.env Files

Getting started with React Native and Expo can be a great way to build mobile applications, especially if you're already familiar with React. One important aspect of app development is the use of environment variables. In this article, we'll show you how to use a .env file to manage your environment variables in a React Native project built with Expo.

What is Expo?

Expo is a framework for building React Native apps. It is a set of tools and services made for React Native. It will help you begin building React Native apps with ease. Expo provides a command-line interface that allows developers to easily create, build, and publish their apps.

What is a .env file?

Environment variables are a set of dynamic values that are used by your application at runtime. For example, you may want to use a different API key or URL depending on whether you're running your app locally or in production. A .env file is a simple text file that conta

@niksseif
niksseif / Rachel + Shawn.md
Last active February 17, 2021 23:13
Rachel + Shawn, Hang in there paired project

Hang In There Pair Project

Thanks for your work on this project!

Rubric score key (applies only to that section of the rubric):

  • 4: went beyond set learning goals; did self-teaching.
  • 3: exactly on track! great work!
  • 2: a little behind where we want to see you; study in this area to level up
  • 1: significantly behind where we want to see you; let’s do some pairing!
@niksseif
niksseif / firebase, react, Parcel
Last active October 12, 2023 13:58
How to deploy your React/Parcel project on firebase
Here is a gist of what to do if you are deploying your Parcel/React project on firebase.
1. add these scripts to your package.json in the root of your project
Package.json:
"scripts": {
"clear-build-cache": "rm -rf .cache/ dist/",
"dev": "parcel src/index.html",
"build": "cross-env NODE_ENV=production parcel build ./src/index.html --public-url ./",
"format": "prettier --write \"src/**/*.{js,jsx}\"",
"lint": "eslint \"src/**/*.{js,jsx}\" --quiet",
@niksseif
niksseif / Open idea
Last active July 15, 2021 08:53
This is a description for openidea
##Open idea
People have lots of ideas all the time and maybe they write them in their diary, on a piece of paper, a notebook,
Their notes app, all of the above or like most people they forget to note it anywhere and find it hard to recollect or find it when the time comes to act on it or share it with someone.
What good is an idea if you can’t share it or do something with it. I want to create an online place for people to document,
share and collaborate on ideas openly.
##Who are the users:
Anyone who likes to share their ideas publicly.