Skip to content

Nemwel-Boniface/zuri-node-portfolio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zuri-node-portfolio

This is a project where I am supposed to create a basic portfolio and loadthem using Node.js: The project includes 3 html files: index.html, about.html, and contact.html. To accomplish this project, I read through and had a beginners understanding of the followinf modules:

  • http module which allows me to create the serverto run my application on
  • fs module which allows me to handle files from my local system. i.e readFile() method was used to load files from my local system and be displayed to the browser
  • url module which provided me with utilities for URL resolution and parsing

The project requirements were as follows:

  • Create a portfolio having the following HTML pages:
    • Home: The homepage should contain your data (bio)
    • About: The about me page should contain brief information about you
    • Contact: The contact page should contain links to your social media
  • Create a server using the HTTP module
  • Create routes that render the HTML pages you created on a browser
  • The base URL of your app should render the homepage
  • there should be a /home route that redirects to the base of your app

Constraints

  • No third-party dependencies
  • You don’t need to style your HTML pages

Enjoy!

Getting Started

To get a local copy up and running follow these simple example steps. To run the project you need node.js and npm installed

Install

In your terminal, navigate to your current directory and run this code

git@github.com:Nemwel-Boniface/zuri-node-portfolio.git

Locate the directory in your file explorer

cd zuri-node-portfolio

Starting project

node index.js

Go to your browser and navigate to http://localhost:8080/ and the project should be live

Run Linters:

  • project has no set up linters

Have fun playing with Node.js!

Built with

  • HTML5
  • JacaScript
  • Node.js v16.15.0
  • npm v8.5.5

Authors

👤 Author1

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

  • Hat tip to anyone whose code was used
  • Inspiration
  • etc

📝 License

This project is MIT licensed.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages