Skip to content

leightjohnson93/today-i-learned

Repository files navigation

Today I Learned

a small example of NodeJS using MongoDB and ReactJS

Installation

Web App

Hosted at: https://secure-wildwood-12307.herokuapp.com/

Database: https://mlab.com/databases/til/collections/facts

Installation:

npm install

Launch server and client with concurrently:

npm run dev

Cypress Testing:

npm test

Jest and Enzyme Testing:

cd til-client && yarn test

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

To install MongoDB:

To install TIL CLI:

Create til command:

npm link

(on MacOS with Homebrew, you may also need to do

brew unlink node && brew link node

)

CLI Usage

From the command line, run

til help

To add a lesson:

til add 'eels are fish, not snakes'

To list all lessons:

til list

About

Today I Learned App using React, Express, and MongoDB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •