Developed a currency trading app with Node.js and Mongoose, integrating MongoDB for data storage. Developed dynamic EJS pages for a user-friendly interface and used modularized routes for efficient request management. Implemented strong security measures against XSS attacks and enhanced authentication with password hashing and salting, reducing Social Engineering threats.
Implemented protection against XSS attacks and enhanced authentication with password hashing and salting.
First clone this repo by using following command
git clone https://github.com/yourusername/currency-trading-app.git
then
cd currency-trading-app
Install the required dependencies:
npm install
Create a .env file in the root directory and add the following:
MONGODB_URI=your_mongodb_connection_string
SECRET_KEY=your_secret_key
Then you can access the application at
http://127.0.0.1:3000/