This small project adds an Express server to serve the frontend folder and respond to GET / with admin_site.html.
Quick start (PowerShell):
# install dependencies
npm install
# start server
npm start
# open in browser
Start-Process http://localhost:3000/Development (auto-restart):
npm run dev- Push your code to a GitHub repository
- Go to Render Dashboard
- Click "New" → "Blueprint"
- Connect your GitHub repository
- Render will automatically detect the
render.yamlfile and configure your service
- Push your code to a GitHub repository
- Go to Render Dashboard
- Click "New" → "Web Service"
- Connect your GitHub repository
- Configure the service:
- Name: admin-site (or your preferred name)
- Environment: Node
- Build Command:
npm install - Start Command:
npm start - Plan: Free (or your preferred plan)
- Click "Create Web Service"
Your app will be deployed and accessible at: https://your-app-name.onrender.com