- Table of Contents
- About The Project
- Getting Started
- Usage
- Roadmap
- Contributing
- License
- Contact
- Acknowledgements
A simple node server to retrieve static content from a public folder.
This template was built with:
To get a local copy up and running follow these simple example steps.
You should have node.js.
- Clone the repo
git clone https://github.com/danicaliforrnia/node-server.git
- Install NPM packages
npm install
- Run
node index.js
Node server will be listening from port 80 as default.
Static content should be placed in a public folder. Path of this public folder should be set in publicDir constant.
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/amazing_feature
) - Commit your Changes (
git commit -m 'My new amazing feature'
) - Push to the Branch (
git push origin feature/amazing_feature
) - Open a Pull Request
Distributed under the MIT License.