- 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
876 B
876 B
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}.