Skip to content

zaironjacobs/notes

Repository files navigation

Notes

notes

notes

Dependencies

Usage

Copy the file .env.local.example to .env.local and fill in the environment variables. Example:

MYSQL_HOST=localhost
MYSQL_DATABASE=notes
MYSQL_USERNAME=username
MYSQL_PASSWORD=password
MYSQL_PORT=3306
NEXT_PUBLIC_API_URL=http://localhost:3000/api
SECRET=1234567890
NEXT_PUBLIC_DEMO_EMAIL=demo@example.com
NEXT_PUBLIC_DEMO_PASSWORD=123QWE,./

Install

npm install
npm run migrate
npm run build

Run

npm run start -- -p [PORT_NUMBER]