This is the news website project with vuejs, nodejs, expressjs developed by Vue CLI and visual studio code tools.
This project uses the following technology and tools:
- VueJs: frontend framework
- Express.js: backend framework
- Node.js: runtime environment
- Newsapi: news API
Other tools and technologies used:
- Vue CLI: project scaffolding
- Vuetify: layout and styles
- Material Icon: icons
- Vue Router: frontend side page navigation
- Vuex: state management
- Style guide: airbnb javascript style guide
- Install Node.js and Install Git
- Clone the project from github by
git clone https://github.com/mdshohelrana/news-app.git
- Install Vue CLI:
npm install -g @vue/cli
ORyarn global add @vue/cli
- From project root folder install all the dependencies:
npm i
ORyarn install
npm run server
oryarn serve
: Browse the application and enjoy itnpm run build
oryarn build
: Run the project with a production bundlenpm run server
oryarn server
: Run the node js project if you want to use proxy servernpm run lint
oryarn lint
: To allow developers to create their own linting rulesnpm run test:unit
oryarn test:unit
: For the unit test of the system