{"id":15175897,"url":"https://github.com/cadeheinberg/vanabytewebsite","last_synced_at":"2026-02-07T12:01:52.883Z","repository":{"id":254341178,"uuid":"846194504","full_name":"cadeheinberg/VanaByteWebsite","owner":"cadeheinberg","description":"MySQL, Express, React, Node.js, JWT, Bcrypt, Cookie-Parser, TailWindCSS","archived":false,"fork":false,"pushed_at":"2024-11-10T23:11:41.000Z","size":13341,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-26T18:43:34.583Z","etag":null,"topics":["authentication","authorization","bcrypt","cookie-parser","express","javascript","jsonwebtoken","jwt","mysql","nodejs","react","tailwindcss"],"latest_commit_sha":null,"homepage":"http://vanabyte.com/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cadeheinberg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-22T17:57:49.000Z","updated_at":"2024-11-10T23:11:42.000Z","dependencies_parsed_at":"2024-09-23T06:01:53.270Z","dependency_job_id":"a2458256-5f10-471f-8ad3-7feac8e3502a","html_url":"https://github.com/cadeheinberg/VanaByteWebsite","commit_stats":{"total_commits":26,"total_committers":2,"mean_commits":13.0,"dds":"0.11538461538461542","last_synced_commit":"a79df74c2a66c5db86042e99e52864f43774f036"},"previous_names":["cadeheinberg/notetaker","cadeheinberg/vanabytewebsite"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cadeheinberg/VanaByteWebsite","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cadeheinberg%2FVanaByteWebsite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cadeheinberg%2FVanaByteWebsite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cadeheinberg%2FVanaByteWebsite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cadeheinberg%2FVanaByteWebsite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cadeheinberg","download_url":"https://codeload.github.com/cadeheinberg/VanaByteWebsite/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cadeheinberg%2FVanaByteWebsite/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29194002,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T07:37:03.739Z","status":"ssl_error","status_checked_at":"2026-02-07T07:37:03.029Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["authentication","authorization","bcrypt","cookie-parser","express","javascript","jsonwebtoken","jwt","mysql","nodejs","react","tailwindcss"],"created_at":"2024-09-27T13:00:15.871Z","updated_at":"2026-02-07T12:01:52.864Z","avatar_url":"https://github.com/cadeheinberg.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VanaByteWebsite\n- Live Site: [vanabyte.com](http://vanabyte.com/)\n\n## **DEPLOYMENT:**\n 1. clone the repo to local machine anywhere\n 2. I did it to the following\n 3. `/home/sevenkits/WebHosting/VanaByteWebsite/frontend/build`\n\n## **FRONT END:**\n1. `cd frontend`\n2. `npm install` (since node_modules are not in repo need to download them according to package.json)\n\n**FRONT END DEVELOPMENT:**\n 1. `npm start` (for development)\n\n**FRONT END PRODUCTION:**\n 1. `npm run build` (for production)\n 2. `sudo nano /etc/apache2/sites-available/000-default.conf` (set apache to run your build folder now see below)\n6. \n\n\n\n    \u003cVirtualHost *:80\u003e\n    ServerName vanabyte.com\n    DocumentRoot /home/sevenkits/WebHosting/VanaByteWebsite/frontend/build\n\n    \u003cDirectory /home/sevenkits/WebHosting/VanaByteWebsite/frontend/build\u003e\n        Options Indexes FollowSymLinks\n        AllowOverride All\n        Require all granted\n        FallbackResource /index.html\n    \u003c/Directory\u003e\n\n    Alias /todolist /home/sevenkits/WebHosting/OnlineToDoList/mern-todo/frontend/build\n    \u003cDirectory /home/sevenkits/WebHosting/OnlineToDoList/mern-todo/frontend/build\u003e\n        Options Indexes FollowSymLinks\n        AllowOverride All\n        Require all granted\n    \u003c/Directory\u003e\n\n    Alias /notetaker /home/sevenkits/WebHosting/NoteTaker/frontend/build\n    \u003cDirectory /home/sevenkits/WebHosting/NoteTaker/frontend/build\u003e\n        Options Indexes FollowSymLinks\n        AllowOverride All\n        Require all granted\n    \u003c/Directory\u003e\n\n    # Proxy configuration\n    ProxyRequests Off\n    ProxyPass /api-todo http://localhost:5001\n    ProxyPassReverse /api-todo http://localhost:5001\n\n    ProxyPass /api-vana http://localhost:5000\n    ProxyPassReverse /api-vana http://localhost:5000\n\n    ProxyPass /api-notetaker http://localhost:5003\n    ProxyPassReverse /api-notetaker http://localhost:5003\n\n    Alias /phpmyadmin /usr/share/phpmyadmin\n    \u003cDirectory /usr/share/phpmyadmin\u003e\n        Options Indexes FollowSymLinks\n        DirectoryIndex index.php\n        AllowOverride All\n        Require all granted\n    \u003c/Directory\u003e\n\n    ErrorLog ${APACHE_LOG_DIR}/error.log\n    CustomLog ${APACHE_LOG_DIR}/access.log combined\n    \u003c/VirtualHost\u003e\n\n\n\n\n\n## **BACK END:**\n1. `cd backend`\n2. create file \".env\" in ./VanaByWebsite/backend for db info. Place following info\n\u003e     DB_HOST=localhost\n\u003e     DB_USER=your_username\n\u003e     DB_PORT=3306\n\u003e     DB_PASSWORD=your_password\n\u003e     DB_DATABASE=your_database\n3. `npm install` (since node_modules are not in repo need to download them according to package.json)\n4. use npx for the following commands since nodemon and pm2 werent installed globally\n\n**BACK END DEVELOPMENT:** \n1. `npx nodemon index.js` (for development)\n\n**BACK END PRODUCTION:** \n1. `npx pm2 start index.js` (for production running)\n2. `npx pm2 list` (view backends running)\n3. `npx pm2 logs 0` (view logs for specific backend id, use CTRL-C to exit logs)\n4. `npx pm2 stop 0` (stop running specific backend id)\n5. `npx pm2 start/restart 0` (start running specific backend id)\n6. `npx pm2 delete 0` (delete specific backend id)\n\n## **ALL DEPENDENCIES INSTALLED (dont need to do these just listing, npm install should pull them from package.json):**\n(alternatively just use `npm list`)\n**FRONTEND:**\n\u003e 1. none\n\n**BACKEND:**\n\u003e 1. npm install dotenv (used for db info)\n\u003e 2. npm install express\n\u003e 3. npm install mysql2\n\u003e 4. npm install cors\n\u003e 5. npm install pm2\n\u003e 6. npm install node\n\u003e 6. npm install nodemon\n\n----------------------------------------------------------------------------------------\n**FrontEnd (Vite)**\n0. https://tailwindcss.com/docs/guides/vite (Vite)\n1. npm create vite@latest frontend -- --template react\n2. cd frontend\n3. npm install\n4. npm install -D tailwindcss postcss autoprefixer\n5. npx tailwindcss init -p\n6. do other stuff in linked tutorial\ndev: npm run dev\n\n**FrontEnd (React)**\n0. https://tailwindcss.com/docs/guides/create-react-app (React)\n1. npx create-react-app .\n2. npm install -D tailwindcss\n3. npx tailwindcss init\n6. do other stuff in linked tutorial\ndev: npm start\n\n7. //npm install -D prettier prettier-plugin-tailwindcss\n----------------------------------------------------------------------------------------\n\nThank you for looking!\nCade Heinberg\n[cadeheinberg.com](http://cadeheinberg.com/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcadeheinberg%2Fvanabytewebsite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcadeheinberg%2Fvanabytewebsite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcadeheinberg%2Fvanabytewebsite/lists"}