CatchTheFlag MERN
version
This project is CTF (catch the flag) game made as dynamic webpage using M(mysql)E(express)R(react)N(nodejs) stack. The game has a focus on working with web technologies, social networks, encryption, forensics and malware analysis. Its mission is to raise awareness of these technologies and their dangers The project is inspired by HackTheBox, TryHackMe and other CTF games.




Open 2 terminals
In first terminal go into frontend folder
cd main_app/frontend/
npm i
npm start
cd main_app/backend/
PORT=8080
HOST=localhost
DEV=root
PASSWORD=
DATABASE=catch_the_flag_game
[email protected]
EMAIL_PASSWORD=yourEmailPa$$w0rd
SESSION_SECRET=long_string_of_random_characters
npm i
Open 2 terminals
In first terminal go into frontend folder
cd main_app/frontend/
npm i
npm run build
cd main_app/backend/
PORT=8080
HOST=database_server_domain
DEV=database_administrator
PASSWORD=database_administrator_password
DATABASE=catch_the_flag_game
[email protected]
EMAIL_PASSWORD=yourEmailPa$$w0rd
SESSION_SECRET=long_string_of_random_characters
npm i
node app.js