Mini-application for listening to music podcasts.
The application has three views:
Main view Details of a podcast Details of a podcast chapter
Libraries used:
For development: React, Redux Toolkit, RTK query, Redux persist For testing: Jest, Testing Library
Clone the repository:
Install the dependencies In the root of the cloned project run the following command:
A personal proxy server is used to run the application: (https://github.com/isma3l/server-proxy)
Although it is not recommended to save environment variables in the repository, as it is a proof of concept we leave the .env.development file that contains the URLs to test the application.
In the root of the project run:
After executing the command a local server will be executed at (http://localhost:3000) and the browser with the web application will be opened.
For this test, it is required to package the application and to lift it through a local server.
Execute the following command:
Once the compilation is finished, a folder called build will be created. This folder is the one to be used for testing.
Tip You can use the serve server. It is easy to use, just install it globally and pass it the path to the build folder.
Subsequently, to test the application, log on to (http://localhost:3000/)