Redirect API
A Node.js API which accepts all GET requests and redirects them to a specified page.
Getting Started
Requirements
- tsc
- Node.js v12 or higher
Steps
- Rename
example.env
to.env
. - Update the
port
andurl
options in the.env
file.port
: The port the API will run on.url
: The URL to redirect to.
- Open your terminal and run
npm start
. - Done!