grunt-express - Start an Express.js web server using grunt.js

  •        11

grunt-express-angular-example is a minimal example that shows how you can use grunt-express to run a basic express server that hosts an Angular app, it is based on @bford's Yeoman generator generator-angular. Run this task with the grunt express command.

https://github.com/blai/grunt-express

Dependencies:

connect : ^2.15.0
temp : ^0.7.0
touch : 0.0.3
connect-livereload : ^0.4.0
grunt-contrib-watch : ^0.6.1
open : 0.0.5
grunt-parallel : ^0.3.1
sugar : ^1.4.1

Tags
Implementation
License
Platform

   




Related Projects

grunt-express-server - Grunt task for running an Express Server that works great with LiveReload + Watch/Regarde

  •    Javascript

You can override the default options either in the root of the express config or within each individual server task.By default, unless delay or output has been customized, the server is considered "running" once any output is logged to the console, upon which control is passed back to grunt.

grunt-contrib-connect - Start a static web server.

  •    Javascript

Run this task with the grunt connect command. Note that this server only runs as long as grunt is running. Once grunt's tasks have completed, the web server stops. This behavior can be changed with the keepalive option, and can be enabled ad-hoc by running the task like grunt connect:keepalive.

express-graphql - Create a GraphQL HTTP server with Express.

  •    Javascript

Create a GraphQL HTTP server with any HTTP web framework that supports connect styled middleware, including Connect itself, Express and Restify.Use .get or .post (or both) rather than .use to configure your route handler. If you want to show GraphiQL in the browser, set graphiql: true on your .get handler.

grunt-contrib-watch - Run tasks whenever watched files change.

  •    Javascript

Run this task with the grunt watch command. This defines what file patterns this task will watch. It can be a string or an array of files and/or minimatch patterns.


grunt-nodemon - Grunt task to run nodemon

  •    Javascript

Note that using the callback config above assumes you have open installed and are injecting a LiveReload script into your HTML file(s). You can use grunt-inject to inject the LiveReload script. Script that nodemon runs and restarts when changes are detected.

apollo-server - :earth_africa: GraphQL server for Express, Connect, Hapi and Koa

  •    TypeScript

Apollo Server is a community-maintained open-source GraphQL server. It works with pretty much all Node.js HTTP server frameworks, and we're happy to take PRs for more! It works with any GraphQL schema built with the graphql-js reference implementation.Apollo Server is super easy to set up. Just npm install apollo-server-<variant>, write a GraphQL schema, and then use one of the following snippets to get started. For more info, read the Apollo Server docs.

fusker - Fusker is a static HTTP server that provides optional security features for HTTP/Socket.io

  •    CoffeeScript

You think you're one raw dog? fusker.nodester.com Come at me bro. Please see this for a working express example. It's as easy as app.use(fusker.express.check); Detectives/payloads are the same as they would be for the fusker HTTP server. Make sure fusker is the first piece of middleware added.

tiny-lr - tiny livereload

  •    Javascript

This script manages a tiny LiveReload server implementation. It exposes an HTTP server and express middleware, with a very basic REST API to notify the server of a particular change.

server-configs-node - Express / Connect middleware for websites. Goes well with HTML5 Boilerplate.

  •    Javascript

⚠️ This module is depecrated (Express 3.x) and is being rewritten. HTML5 boilerplate (H5BP) server config for node.js.

express-http-proxy - Proxy middleware for express/connect

  •    Javascript

Express middleware to proxy request to another host and pass response back to original caller. Proxy requests and user responses are piped/streamed/chunked by default.

gulp-connect - Gulp plugin to run a webserver (with LiveReload)

  •    CoffeeScript

If the http2 package is installed and you use an https connection to gulp connect then http 2 will be used in preference to http 1.

express-status-monitor - 🚀 Realtime Monitoring solution for Node

  •    Javascript

Simple, self-hosted module based on Socket.io and Chart.js to report realtime server metrics for Express-based node servers. Monitor can be configured by passing options object into expressMonitor constructor.

connect-roles - Provides dynamic roles based authorisation for node.js connect and express servers.

  •    Javascript

Connect roles is designed to work with connect or express. It is an authorisation provider, not an authentication provider. It is designed to support context sensitive roles/abilities, through the use of middleware style authorisation strategies. If you're looking for an authentication system I suggest you check out passport.js, which works perfectly with this module.

budo - :clapper: a dev server for rapid prototyping

  •    Javascript

This is a browserify development server focused on incremental reloading, LiveReload integration (including CSS injection) and other high-level features for rapid prototyping.Then open http://localhost:9966/ to see the content in action.

apimocker - node.js module to run a simple http server for mock service responses.

  •    Javascript

Then you can visit "http://localhost:7878/first" in your browser to see it work. The quiet and port options can also be set in the config.json file, and values from config.json will override values from the command line. After you get up and running, you should put your config.json and mock responses in a better location. It's not a good idea to keep them under the "node_modules" directory. Make sure another process is not already using the port you want. If you want port 80, you may need to use "sudo" on Mac OSX. Sometimes you only want some service endpoints to be mocked, but have other requests forwarded to real service endpoints. In this case, provide the proxy URL option on startup e.g. apimocker --proxy http://myrealservice.io When the proxy option is set, any requests to apimocker with URLs that are not configured with mock files, will be forwarded to the specified URL.

fullstack-apollo-react-express-boilerplate-project - 💥A sophisticated Apollo in React and Express boilerplate project

  •    Javascript

A full-fledged Apollo Server 2 with Apollo Client 2 starter project with React, Express and PostgreSQL. Since this boilerplate project is using PostgreSQL, you have to install it for your machine and get a database up and running. You find everything for the set up over here: Setup PostgreSQL with Sequelize in Express Tutorial. After you have created a database and a database user, you can fill out the environment variables in the server/.env file.

cookie-session - Simple cookie-based session middleware

  •    Javascript

Simple cookie-based session middleware. A user session can be stored in two main ways with cookies: on the server or on the client. This module stores the session data on the client within a cookie, while a module like express-session stores only a session identifier on the client within a cookie and stores the session data on the server, typically in a database.

express-gateway - A microservices API Gateway built on top of ExpressJS

  •    Javascript

Express Gateway is an API Gateway that sits at the heart of any microservices architecture, regardless of what language or platform you're using. Express Gateway secures your microservices and exposes them through APIs using Node.js, ExpressJS and Express middleware. Developing microservices, orchestrating and managing them now can be done insanely fast all on one seamless platform without having to introduce additional infrastructure. Express Gateway is commerically supported LunchBadger. For more information about support plans please contact info@express-gateway.io.