Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 1.71 KB

README.md

File metadata and controls

33 lines (22 loc) · 1.71 KB

Canvas: Designing an Online Drawing Platform

See the live website, or check out the demo linked down below.


\

Interested in the design process of this project? You can also view our design document linked here.

Running this code locally

We're going to be using a command-line interface. I'm writing this from the perspective of a Mac user using Terminal (zsh). If you're a Windows user, you might use Powershell. If you use Visual Studio Code, you might find this page helpful.

1. Clone or download this repo to your computer.

Once you've got it, navigate to the directory (ex: $ cd starter-code)

Check to see if you can run $ node -v and $ npm -v (My versions are v16.15.0 for node and 8.10.0 for npm.)

3. Install the Express module using npm.

ex: $ npm install express

4. Run the example app using Node:

ex: $ node App.js

You should see the message Server is running on http://localhost:8000

If you instead see an error message like Error: Cannot find module 'express' -- see step 3.

5. View the website

Open a web browser (e.g. Google Chrome) to this URL: http://localhost:8000/