d93bfe333dee3b0964403a720074072823c85d3a
- Added better anti DoS protection - Added better security measures (HTTP headers, etc.) - Added TLS support - Added support for configurable rate limiting - Added default 404 and error handling - Updated proxy settings - Updated env naming
HSP-GDH (API)
Short description of your project.
Table of Contents
Installation
- Install bun.
- Clone the repository.
- Install the dependencies by running the following command:
bun install - Copy .env.sample as .env
cp .env.sample .env - (Optional) Setup SSL/TLS certs
- Create Certificate
openssl req -newkey rsa:2048 -nodes -keyout certs/domain.key -x509 -days 365 -out certs/domain.crt -subj "/C=FR/L=Paris/O=HSP-GDH/CN=localhost"- Enable HTTPS in .env
Usage
- Start the application by running the following command:
bun index.js - Open your browser and navigate to
http(s)://localhost:{port}.
Description
Languages
JavaScript
66.7%
CSS
24.7%
HTML
8.6%