Skip to content

aibazhang/multitrue

Repository files navigation

Multitrue (live)

A multi-language news web application

Support 🇺🇸🇯🇵🇹🇼🇨🇳🇰🇷

Architecture

Run locally

  1. Add following configture to config.env
NODE_ENV=development
PORT=3000
DATABASE=YOUR_MONGO_DB_URL
DATABASE_PASSWORD=YOUR_MONGO_DB_PASSWORD

NEWSAPI_KEY=YOUR_NEWSAPI_KEY

JWT_SECRET=YOUR_JWT_SECRET
JWT_EXPIRES_IN=180d
JWT_COOKIE_EXPIRE_IN=90
  1. Run application
# Install dependencies
npm i

# Run application
npm start run:dev

Redeploy to Heroku

git commit --allow-empty -m "Trigger Heroku deploy after enabling collectstatic"
git push heroku main

License

MIT


Powered by startbootstrap-clean-blog and NewsAPI