Skip to content

KQED/frontend-training-pgilmour

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Training: Initial Project

Basic project dependencies node 16.13.2 yarn 1.22.19 webpack 5.73.0

Building and running See package.json for the details of the commands below.

To run without SSR:

  • To build entire project, express to deliver react: $ yarn build

  • To start entire project, express server delivers react frontend: $ yarn start

Redis and redis-cli

KSM-3867 Deliverables

Redis is an open source, in-memory data structure store.

redis-cli is a terminal program that has two main modes:

  • Read Eval Print Loop (REPL) mode
  • Command mode

On the command line:

to run Redis in the foreground: redis-server (starts redis) CTL-C (stops the service)

to run Redis in the background: brew services start redis (starts redis) brew services info redis (checks the status) brew services stop redis (stops the service)

once Redis is running: redis-cli (opens the Redis REPL)

an overview of some redis-cli commands: https://redis.io/docs/manual/cli/

the Redis data types tutorial: https://redis.io/docs/data-types/tutorial/

add data: set nameofkey "TheKey\'sValue" delete data: del nameofkey

An instance of Redis supports 16 databases numbered 0 to 15. When connecting to a Redis instance, you connect to datatbase 0 by default.

To switch to a different database, use the keyword select: select 15

About

The training project for Pamela Gilmour

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published