Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maheshmaniya000/solar-admin-app
https://github.com/maheshmaniya000/solar-admin-app
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/maheshmaniya000/solar-admin-app
- Owner: maheshmaniya000
- Created: 2022-02-28T04:08:38.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-02-28T04:45:03.000Z (over 2 years ago)
- Last Synced: 2024-08-23T07:54:30.224Z (3 months ago)
- Language: TypeScript
- Size: 3.92 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Develop server only:
`npm run server:dev` or
`nx serve server`
Runs server in development mode. Internal api will be available for testing: http://localhost:5000/api
When server code is changed server will be restarted.To launch all apps in development mode, run: `npm run apps:dev`
### Develop app with server
* `npm run dev:admin`
* `npm run dev:dashboard`
* `npm run dev:prospect`Runs server and app in development mode.
App will automatically reload after source code is changed. When server code is changed server will be restarted and app will be reloaded too.
Cross-linking between applications will not work.Navigate to http://localhost:5000/, e.g.: http://localhost:5000/admin
To run additional frontend app in development mode, run `nx serve `, e.g. `nx serve admin`.
### Production build
Generate production code for server and all apps in the dist folder.
Run in separate terminals:
- `npm run apps:build`
or per app:
- `nx build `, e.g. `nx build admin`
- `nx build server`
- `npm run server:prod` (after previous two are done compiling)Now both server and apps are served in their production version from static assets, without hot reload.
Navigate to http://localhost:5000 or directly into application:
- http://localhost:5000/admin
- http://localhost:5000/prospect