Skip to content

FreeCodeCampBusan/restful_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RESTful API

This is one of the API projects needed to attain the Back End Certificate at Free Code Camp.

Installing and Running

  1. Make sure that you have node and npm installed on your computer.
  2. Fork and clone this repo on your computer.
  3. cd into the root directory and run npm install.
  4. Run npm start and point your browser to localhost:3000

The Final Product!

This web application has been deployed to Heroku, and you can see it live here! https://busantimestamp.herokuapp.com/

Tips

Restarting the server

When you make changes to any JavaScript files, you have to restart the server. Just press ctrl + c in the terminal to stop the server and npm start or node ./bin/www to start it up again. This process can get very tedious, so I highly recommend that you install Nodemon. This package will automatically restart your server every time you make changes to your JS files. All you have to do is run sudo npm install -g nodemon to install the package globally and then run nodemon ./bin/www. The package takes care of the rest!

About

Building a RESTful API using Node.js and Express

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published