MUSIC-APP-TEST_TASK was bootstrapped with Create React App.
TEST-MUSIC-APP: https://github.com/Oleg-Pogorelov-levi/test-music-app
In the project directory, you need run:
to install required modules
Then:
to start the app
To build the completed project into a stand-alone web page:
- Use additional app.
- Find location (page) where you would like to place a content.
- Pass your current domen where the app is run using
iframe
tag withsrc
attribute. - Set styles for frame-border, width and height.
- Final result should look like this:
<iframe src="http://localhost:3000" frameBorder="0" style={{ width: '100%', height: '100vh' }}></iframe>
For to run an app as widget atteahed an additional app:
- Run current app (MUSIC-APP-TEST_TASK) on localhost:3000 with
npm start
. - Run the attached app on localhost:3001 with the same command. When you get a message "Something is already running on port 3000. Probably:
music-app-test-task" type
Y
and pressEnter
to run the second app on localhost:3001.