The next era of AI powered time keeping (just kidding). This is a basic website meant for security testing, namely approaches to finding and resolving security vulnerabilities. This project has intentional security vulnerabilities included, use at your own risk.
- Landing Page: Select your timezone and sign in
- Profile Page:
- Update your name
- Change your timezone
- Upload a profile picture
- Session-based authentication
- Node.js (version 14 or higher)
- npm (comes with Node.js)
- Navigate to the project directory:
cd timezone-app- Install dependencies:
npm installnpm startnpm run devThe application will start on http://localhost:3000
- Open your browser and go to
http://localhost:3000 - On the landing page, select your timezone from the dropdown
- Click "Sign In"
- You'll be redirected to the profile page where you can:
- Enter your name
- Change your timezone
- Upload a profile picture (click on the profile picture area)
- Click "Update Profile" to save your changes
- Click "Logout" to return to the landing page
- Backend: Node.js with Express
- Session Management: express-session
- File Upload: Multer
- Data Storage: In-memory (not persistent)
- Port: 3000 (configurable in server.js)
- Profile pictures are saved to
public/images/directory - Maximum upload size: 5MB per image
Press Ctrl+C in the terminal where the server is running.
If port 3000 is already in use, you can change it in server.js:
const PORT = 3000; // Change this to another port numberMake sure you have Node.js and npm installed:
node --version
npm --versionMake sure cookies are enabled in your browser.