Skip to content
This repository has been archived by the owner on Jun 8, 2023. It is now read-only.

ward-framework/ward-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


WARD-SERVER

A Basic server for Ward

Report Bug · Request Feature

Contributors Forks Stargazer Issues License Linkedin


Table of Contents

About

A basic server using connect and server-static to serve Ward projects.

Getting Started

Prerequisites

Installation

Method 1 (package manager):

  1. Install ward-server
# npm
npm install ward-server

# Yarn
yarn add ward-server

Method 2 (git clone):

  1. Clone this repository
git clone https://github.com/ward-framework/ward-server.git
  1. Install dependencies
# npm
npm install

# Yarn
yarn add

Usage

Get your server running in 3 steps

// Include the package
const Server = require('ward-server');

// Create a Server instance
const server = new Server({
  path : "/src", // Path to your ward project directory
});

// Serve files
server.serve();

Contributing

This project is developed by a somewhat beginner javascript developer, help is always welcome. Do not hesitate to contribute to the project.

  1. Fork the Project
  2. Create your Feature or Fix Branch (git checkout -b feature/Feature or git checkout -b fix/Fix)
  3. Commit your Changes (git commit -m 'Add some feature or fix')
  4. Push to the Branch (git push origin feature/Feature or git push origin fix/Fix)
  5. Open a Pull Request

License

ward-server is distributed under the MIT License. See LICENSE for more information.

Contact

Colin Espinas - Website - contact@colinespinas.com

Project link: https://github.com/ColinEspinas/ward-server

Acknowledgements

Releases

No releases published

Packages

No packages published