Rohstoffbörse - Client
Project setup
npm install
Compiles and hot-reloads for development
npm run serve
Compiles and minifies for production
npm run build
Lints and fixes files
npm run lint
Customize configuration
Configure application environment (.env files)
Key | Options | Description | Example |
---|---|---|---|
VUE_APP_TITLE | free text | Title of the application | Rohstoffboerse |
VUE_APP_BACKEND_URL | URL | Url to the vue application backend. | http://localhost:3000 |
VUE_APP_BASE_API | URL | Url to the backend API of the application. | http://localhost:3000/api/v1 |
Please edit the following files before production
- ./src/views/general/About.vue
- ./src/views/general/Contact.vue
- ./src/views/general/Imprint.vue
- ./src/views/general/Privacy.vue
Generate an admin user
- Start the server application
- Start the client application
- Register as a normal user
- Change the permission of the registered user through the MongoDB to 'admin'