• This repository has been archived on 24/Feb/2022
  • Stars
    star
    157
  • Rank 238,399 (Top 5 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 6 years ago
  • Updated almost 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

๐ŸŽ‰ A curated list of flashcards for developers

Flashcards For Developers

"That's how knowledge works. It builds up, like compound interest." - Warren Buffett

This project contains a small site for studying developer flashcards. This project was bootstrapped with Create React App and it may be useful to refer to its User Guide.

Installing

Clone this project and update your path:

git clone [email protected]:nlaz/flashcards-for-developers.git
cd flashcards-for-developers

Install dependencies and run the web application and server application seperately.

yarn install
yarn web
yarn server  # in a separate window

Open http://localhost:3000/ to view the app in the browser.

Configuration

All configuration options can be passed to the server using environment variables. The following variables are supported:

  • PORT - The port on which the server will listen to requests (Default: 3000)
  • DATABASE_URI - The uri of the database used to store data

Environment variables are set by adding files like .env which should not be checked into source control. Additional .env files can be used:

  • .env: Default.
  • .env.local: Local overrides. This file is loaded for all environments except test.
  • .env.development, .env.test, .env.production: Environment-specific settings.
  • .env.development.local, .env.test.local, .env.production.local: Local overrides of environment-specific settings.

For more information check the create-react-app docs.

Available Scripts

In the project directory, you can run:

yarn web

Runs the frontend side of the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn server

Runs the server side of the app in the development mode.
Make API requests to http://localhost:5000 to interact with the server.

The server will also reload if you make edits.
Note: It also initially loads the built React app on the server at http://localhost:5000

yarn test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

yarn build

Builds the React app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

yarn deploy

Builds the React app for production and runs the server so the the app is ready to be deployed.

Syncing with Airtable

The database uses Airtable to manage our content. We have three records that we sync from Airtable: Collections, Decks, and Cards. If Airtable is updated, the changes will have to be synced to the database. There are three scripts provided in the scripts/ folder to sync these records:

  • sync_cards.js
  • sync_collections.js
  • sync_decks.js

Running these scripts will fetch the data from Airtable and OVERWRITE the records in the database. The database can changed through environment variables. The default environment is development.

Example:

node scripts/sync_cards.js

Contributing

Interested in contributing? Contact @nlaz for help to get started.

License

This project is MIT licensed.

More Repositories

1

git-khaled

๐Ÿ”‘ Khaledify your commit messages
Shell
85
star
2

Android-ReboundDemo

๐ŸŽˆ An Android app showing off Facebook's Rebound library
Java
55
star
3

matchstick

๐ŸŽˆ Matchstick - Visually compare your code and design.
JavaScript
10
star
4

pensieve

๐Ÿ”ฎ Open-source spaced repetition platform
JavaScript
9
star
5

monkbot

:octocat: A Slack bot for daily committers
JavaScript
7
star
6

mazi

JavaScript
3
star
7

hackny-checkin

๐Ÿ“‹ An example hackathon checkin app built on my.mlh.io for Android
Java
3
star
8

2-chainz

๐ŸŽค An experiment in lyric generation using Markov Chains
CSS
3
star
9

citizen-tech

๐Ÿ› A site for socially responsible technologists.
JavaScript
3
star
10

whosebioisitanyway

A Twitter game guessing your friend's bios
JavaScript
3
star
11

kill-all-feeds

๐Ÿšซ Get rid of feeds, get rid of distractions
JavaScript
3
star
12

the-offline-writing-app

๐Ÿ™…โ€โ™‚๏ธ๐Ÿ“ก A writing app that only works if you disconnect your Wi-Fi.
JavaScript
3
star
13

albus

Java
2
star
14

starbot

A Slack bot for OSS communities
Ruby
2
star
15

registrationhacks

An example hackathon static website
HTML
2
star
16

yayml

HTML
2
star
17

mymlh-sinatra-example

This is an example sinatra app that uses MyMLH for authentication.
Ruby
2
star
18

WhatColorIsIt

โŒš Display the current time in hex
Java
1
star
19

Discover

Java
1
star
20

Rebound-Bounce

๐ŸŽˆ A test run with Facebook Rebound.
Java
1
star
21

git_tutorial2

Lesson 2 in my Intro to Git talk
1
star
22

otto

JavaScript
1
star
23

ride-along-bot

๐Ÿค– A pair programming robot
JavaScript
1
star
24

Infinite-Kittens

๐Ÿˆ A instructional Android app made for MAD workshops
Java
1
star
25

bugs-and-brews

๐Ÿ›๐Ÿป Homepage for the NYC Bugs & Brews community
JavaScript
1
star
26

Giftos

An Android app providing a hot injection of GIFs
Java
1
star
27

name-the-trees

๐ŸŒณNaming trees on the internet
JavaScript
1
star
28

tutorbot

JavaScript
1
star
29

hackny-15f

HTML
1
star
30

nlaz.github.io

๐Ÿ• My very own personal site.
JavaScript
1
star
31

named-pipes

JavaScript
1
star