This repo is the backend management system of NewsWave.
Account: admin@gmail.com
Password: admin1234Node.js at least v18.17.1
git clone https://github.com/NycteaChen/newswave-admin.gitnpm installPlease enter cp .env.example .env in the terminal to copy the .env.example file and adjust the relevant fields according to the contents of .env.
npm run devhttp://localhost:4001/NUXT_PUBLIC_API_BASE= # api domain, follow the backend repo localhost: https://github.com/r37111081/newswave-backend
FRONT_END_URL = # front end url- assets - Static resource
- scss
- image
- components
- _pages - Page components
- Global components
- composables - General functions(e.g. Api)
- layouts
- middleware - Router auth
- pages - Page router view
- plugins
- public
- stores - Pinia store
- types - Global Type
- utils - Custom sharing method
- .env
- nuxt.config.js
- Node.js v18.17.1
- Vue v3.4.21
- Vue-router v4.3.0
- Nuxt v3.11.2
- Pinia v2.1.7
- Bootstrap v5.3.3
- vueuse v10.9.0
- eslint v8.57.0
- stylelint v16.4.0
- prettier v3.2.5
- husky v8.0.0
- lint-staged v15.2.2
Use Render to auto-build, when merging to master :
- Build Node.js environment
- Install package
- Compile code
- Build to Render