🚀 version 0.0.1
🌏 Русский
This project was created as a template for a complete application for Media Station X.
This template shows how to organize the API and serve up your content in Media Station X. Also, a template for your site has been added right away. This template can be used for websites with their own movies.
git clone https://github.com/ValeraGin/msx-template.git your-project-name
cd your-project-name
npm install
I personally recommend to use either VSCode or WebStorm.
To start the server, you need to run these commands in different terminals
Run npm run start-backend
for a backend-dev server.
Run npm run start-web
for a dev web-server.
Run npm run start-plugins
for a dev msx-server.
http://localhost:4200/ - Angular (frontend web app)
http://localhost:4200/api - NestJS (backend app)
http://localhost:1234/ - Media Station X Plugins/Data (MSX Scripts)
Test:
- 1 way: open msx.benzac.de and enter "localhost:4200"
- 2 way: open link http://msx.benzac.de/?start=menu:request:interaction:init@http://localhost:1234/index.html
Run ng build %APPNAME%
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
Run ng test %APPNAME%
to execute the unit tests via Jest.
Run nx affected:test
to execute the unit tests affected by a change.
Run ng e2e %APPNAME%
to execute the end-to-end tests via Cypress.
Run nx affected:e2e
to execute the end-to-end tests affected by a change.
Run nx dep-graph
to see a diagram of the dependencies of your projects.
Visit the MSX Documentation Nx Documentation, Angular Documentation, NestJS to learn more.