Skip to content

smashedr/node-redirect

Repository files navigation

Server Status Image Size Image Latest Image Tags GitHub Tag Major GitHub Tag Minor GitHub Release Version Deployments Swarm Workflow Build Workflow Lint Quality Gate Status GitHub Last Commit GitHub Contributors GitHub Repo Size GitHub Top Language GitHub Discussions GitHub Forks GitHub Repo Stars GitHub Org Stars Discord Ko-fi

Node Redirect

This is Private, how did you get here?

Developing

You can run the dev server with Docker compose or Node run.

With Docker

This includes live reloads with the dev server.

docker compose -f "docker-compose-dev.yaml" up --build --remove-orphans --force-recreate

Then visit: http://localhost/

Note: this mounts the ./src directory into the container for live reloading. To use a different source path, set the APP_FILES environment variable. See the docker-compose-dev.yaml file for more details.

To use a different port set the PORT environment variable.

export PORT=8080

With Node

npm i
npm run dev

Then visit: http://localhost:3000/

To use a different port set the PORT environment variable.

export PORT=8080

Deploying

This is ready for deployment using both Docker and Node.

To Docker

To deploy to a Swarm cluster using Traefik see the docker-compose-swarm.yaml.

To Node

This is ready to be deployed to services like Render.

The server installs with npm i, starts with npm start, and listens on PORT environment variable.

Support

For general help or to request a feature, see:

If you are experiencing an issue/bug or getting unexpected results, you can:

For more information, see the CSSNR SUPPORT.md.

Contributing

If you would like to submit a PR, please review the CONTRIBUTING.md.

Please consider making a donation to support the development of this project and additional open source projects.

Ko-fi

For a full list of current projects visit: https://cssnr.github.io/

About

Node Redirect

Resources

Contributing

Stars

Watchers

Forks

Releases

Sponsor this project

Packages

Contributors

Languages