A blog CMS built with React.js and Express.js
Clone Repo
git clone https://github.com/borelli28/Blog.gitCd into project
cd BlogSetup /backend
cd backend && bun installor use NPM
cd backend && npm installCreate .env in /backend
echo "JWT_SECRET=your_jwt_secret" > .env && \
echo "CSRF_SECRET=your_csrf_secret" >> .env && \
echo "ENV=development" >> .envStart backend server
bun server.jsor use NPM
npm startSetup frontend in a new tab
cd ../frontend && bun installor use NPM
cd ../frontend && npm installCreate .env in /frontend
echo "VITE_API_URL=http://localhost:8080/api" > .env && \
echo "VITE_BACKEND_URL=http://localhost:8080" >> .envStart frontend server
bun devor use NPM
npm run devOpen browser in http://localhost:3000/register
Use admin as username