Clone the project onto your machine
We are running a client and a server
cd
intoto-do-app/server
and runnpm install
(just to be sure you have all of the node_modules you need)- Start your mongo daemon
mongod
(mongosh
) in a separate terminal tab - Install nodemon globally (if you don't already have it installed) with
npm i -g nodemon
- Run your server in its own terminal tab with
nodemon
ornode app
- Navigate to
to-do-app/client
in a separate terminal tab and runnpm install
- Run an initial
gulp default
to be sure your transpiled JS file is up to date - While working in development you can run
gulp watch
from a separate tab to listen for changes and tanspile your client-side JavaScript each time you update the/client/src/ajax.js
file - Run your client server from
/client
withpython -m SimpleHTTPServer
(Windows users see here) - Navigate to
localhost:8000
in your browser