Skip to content

Aikido-demo-apps/ai-pentest-demo-app

Repository files navigation

Vibe-Coded Notes and Blog Application

A simple vibe-coded Node.js Express note-taking application with user authentication and public/private note sharing.

Quick start with docker

export DB_PASSWORD=your_password
docker compose up

Setup Instructions

Prerequisites

  • Node.js (v14 or higher)
  • MySQL Server
  • npm

Installation

  1. Install dependencies:
npm install
  1. Set up MySQL database:

2.1 using existing MySQL server

CREATE DATABASE noteapp;

2.2 using docker

docker run --name=notes-mysql -p3306:3306 -e 'MYSQL_ROOT_HOST=%' \
  -e MYSQL_DATABASE=noteapp -e MYSQL_ROOT_PASSWORD=your_mysql_password -d mysql/mysql-server && sleep 20 # let the DB initialize

Note: root password (your_mysql_password) should be changed

  1. Create environment variables file (.env):
DB_HOST=localhost
DB_PASSWORD=your_mysql_password
  1. Start the application:
npm start

The application will be available at http://localhost:3000

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors