Trueblogger provides a neat, user-friendly and performant web interface that categorizes the blogs as per the interests of the reader.
Live Link: trueblogger.herokuapp.com
├── src
├── api.js # api file wrapper
├── app.js # the node app
├── config.js # getter for .env variables
├── http.js # axios lib instance
├── .env.example
├── .gitignore
├── package.json
└── README.md
Make sure you have Node.js installed with recommended LTS version
git clone https://github.com/Sagarmak/trueblogger-backend.git # or clone your own fork
cd trueblogger-backend
npm install
npm start
Your app should now be running on localhost:3000.
NODE_APP_TITLE=trueblogger
# public api for wordpress' truecaller blog
NODE_APP_API_URL=http://dev-api:port/api/v1/etc
NODE_APP_PORT=3000
Package | Description |
---|---|
axios | promise based HTTP library |
cors | send CORS headers in requests |
dotenv | to loads environment variables from a .env file |
express | nodejs framework |