Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gergogy/hellsupply
Inhouse HELL ordering
https://github.com/gergogy/hellsupply
Last synced: 1 day ago
JSON representation
Inhouse HELL ordering
- Host: GitHub
- URL: https://github.com/gergogy/hellsupply
- Owner: gergogy
- Created: 2019-12-17T18:53:01.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-11T03:43:13.000Z (almost 2 years ago)
- Last Synced: 2023-03-06T00:39:52.516Z (over 1 year ago)
- Language: Vue
- Size: 249 KB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hellsupply
> Inhouse HELL ordering
## Start Docker
```
docker-compose down
docker-compose up -d
```## Login with admin, admin into MongoDB
```
node login
```## Build Setup
``` bash
# install dependencies
$ npm run install# start MongoDB on port 31000
$ docker-compose up# serve with hot reload at localhost:8787
$ npm run dev# build for production and launch server
$ npm run build
$ npm run start# generate static project
$ npm run generate
```For detailed explanation on how things work, check out [Nuxt.js docs](https://nuxtjs.org).
Manually generating password: `node generatePasswordHash.js`
Add superadmin user:
```nodejs
node superadmin
```Example user with admin role ([email protected]:admin)
```
{
firstName: 'It's A',
lastName: 'Admin',
email: '[email protected]',
password: '$2b$15$gHNKCQPydZ/R.ZH/nqOmm.zGalFn/UuYEV4tUkfsGHBpIgQx9tUyG',
role: 'admin',
active: true
}
```Add demo product:
```nodejs
node demoProducts
```Add demo users:
```nodejs
node demoUsers
```