Deployment = https://week-15-jokosetiawan-dev-production.up.railway.app
This project focuses on implementing Cross-Origin Resource Sharing (CORS), web security, X-Frame-Options, and Content Security Policy (CSP) to enhance the security and reliability of the backend.
-
CORS Implementation: Securely configure Cross-Origin Resource Sharing to control which origins can access your API.
Frontend: Client X = https://clinetx-week15.netlify.app/ Client Y = https://clienty-week15.netlify.app/
-
Web Security: Implement security measures to protect your backend from common web vulnerabilities.
-
X-Frame-Options: Defend against clickjacking by setting the X-Frame-Options HTTP header.
-
Content Security Policy (CSP): Apply a strong CSP to prevent cross-site scripting and other code injection attacks.
# Clone the repository
git clone https://github.com/RevoU-FSSE-2/week-15-JokoSetiawan-dev
# Navigate to the project directory
cd your-backend-project
# Install dependencies
npm install