A calm & minimal microblogging platform with Markdown support.
- Node.js + Express
- EJS templates + Vue (browser-side)
- MongoDB + Mongoose
- Install dependencies:
npm install- Copy the environment template and fill values:
cp .env.example .env- Add local host mappings (required for development domain):
sudo nano /etc/hostsAdd:
127.0.0.1 veeblog.local
127.0.0.1 www.veeblog.local
127.0.0.1 vasanth.veeblog.local
Notes:
veeblog.localmatches the localDOMAINinconfig.js.- You can replace
vasanthwith any username subdomain you want to test. - On Windows, edit
C:\Windows\System32\drivers\etc\hostswith the same entries.
- Export environment variables (or run through your preferred env loader) and start:
npm startThe app runs on http://localhost:3000 by default.
You can also access it via http://veeblog.local:3000.
npm start: start servernpm run api-dev: start with CSRF disabled (local API testing only)npm test: lint project
Please refer CONTRIBUTIONS.md for more info.