Skip to content

Latest commit

 

History

History
37 lines (33 loc) · 775 Bytes

README.md

File metadata and controls

37 lines (33 loc) · 775 Bytes

Text Savvy Server

Quick start

  1. Make sure node and npm are installed. To check:
    $ node -v
    $ npm -v
    
  2. Go to the backend's directory.
    $ cd back-end
    
  3. Install dependencies.
    $ npm install
    
    • Update npm if necessary.
  4. Run the server.
    $ npm start
    
  5. Visit localhost:5000/api in Chrome. Port 5000 is where the Express server will be running on.

In another terminal, start the web server:

$ cd front-end
$ npm install    
$ npm start  

Testing

  1. To test the backend, run this command on back-end/:
    $ npm test