🎉 A curated list of flashcards for developers
"That's how knowledge works. It builds up, like compound interest." - Warren Buffett
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.
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
.envwhich should not be checked into source control. Additional
.envfiles can be used:
.env.local: Local overrides. This file is loaded for all environments except test.
.env.production: Environment-specific settings.
.env.production.local: Local overrides of environment-specific settings.
In the project directory, you can run:
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.
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
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the React app for production to the
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.
Builds the React app for production and runs the server so the the app is ready to be deployed.
The database uses Airtable to manage our content. We have three records that we sync from Airtable:
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:
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
Interested in contributing? Contact @nlaz for help to get started.
This project is MIT licensed.