Make a project directory and create the following files inside that directory:
- index.html
- about.html
- contact-me.html
- 404.html
Create your node.js server file server.js and add the code needed to serve the right page according to the url.
- localhost:3333 should take users to index.html
- localhost:3333/about should take users to about.html
- localhost:3333/contact-me should take users to contact-me.html
- 404.html should display any time the user tries to go to a page not listed above.
To clone and run this application, you'll need Git and Node.js (which comes with npm) installed on your computer. From your command line:
# Clone this repository
$ git clone git@github.com:Clintonrocha98/basic-info-site.git
# Go into the repository
$ cd basic-info-site
# Install dependencies
$ npm install
# Run the app
$ npm dev