Skip to content

Live Cursors is a simple web application that allows you to share your cursors with others.

License

Notifications You must be signed in to change notification settings

pauloRohling/live-cursors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Live Cursors

Live Cursors is a simple web application that allows you to share your cursors with others.

Getting Started

Prerequisites

Before you begin, ensure you have the following installed:

Installation

  1. Create an account on API Ninjas and get your API key.

  2. Clone the repository:

git clone https://github.com/pauloRohling/live-cursors.git
  1. Navigate to the project directory:
cd live-cursors
  1. Build the Docker image:
docker build -t live-cursors .
  1. Run the Docker container:
docker run --rm -e API_KEY=<YOUR_API_KEY> -p 8080:8080 live-cursors
  1. Navigate to the web project directory:
cd web
  1. Install the dependencies:
npm install
  1. Start the development server:
npm start
  1. Open your web browser and navigate to http://localhost:4200.

Environment Variables

Variable Description Default Value Required
SERVER_PORT Port to listen on 8080 false
API_URL URL of the API https://api.api-ninjas.com/v1/randomuser false
API_KEY API key for the API - true
HTTP_MAX_RETRY Maximum number of retries for HTTP requests 3 false
HTTP_MAX_RETRY_TIMEOUT Maximum timeout for HTTP requests 5s false
HTTP_MIN_RETRY_TIMEOUT Minimum timeout for HTTP requests 1s false

License

Live Cursors is released under the MIT License. See the LICENSE file for more information.