Chào mừng!

Bằng cách đăng ký với chúng tôi, bạn sẽ có thể thảo luận, chia sẻ và nhắn tin riêng tư với các thành viên khác trong cộng đồng của chúng tôi.

Đăng ký ngay!
  • Chào Khách,
    Bạn cần liên hệ với admin ??? ZALO & TELEGRAM

Share Share code web clone mp3.zing.vn phiên bản single page viết bằng Nodejs + React

Cua

Cua đẹp trai
Thành viên BQT
Việt Nam Vô Địch
Administrator
Người Điều Hành
Premium
Người Điều Hành Cấp Cao
Thành Viên VIP
Người Ảnh Hưởng
Người Đưa Tin
Người Chia Sẻ
DienDanIT 2018
Kiểm Duyệt Viên
Tham gia
30/10/18
Bài viết
694
Lượt Thích
1,935
Coins
12,620
A music app made with React + Redux + Nodejs demo video:


Features
  • login to create and listen to your playlists
  • download song when you are logged in
  • lazy, paginated fetching
  • player play/stop/forward/backward track
  • search tracks by name and artist
Installation
To run the app with Node.js and MongoDB
This app will fetch tracks from an external api, so there is no need for a database to store tracks, but we still need one for creating user's playlists
Install and start MongoDB (https://docs.mongodb.org/manual/installation).

Install Node.js (http://nodejs.org). Any version above 6.0 works fine

Open .env and adjust the MONGODB_URI to your MongoDB server name (localhost normally works if you're running locally).

  1. Run npm install.
  2. Run npm run dev:client to start the frontend server
Wait for the build process to complete

  1. Run npm run dev:server to start the api server
Navigate to http://localhost:8000 in your browser to explore the app

Build the app
  • Build manually
$ npm start
Or
  • Build with Docker Compose
$ docker-compose build
$ docker-compose up

After building the app, frontend and backend servers will be merged into a single server and be available at http://localhost:3000

Download

[HIDEREPLY]

Tải Về

[/HIDEREPLY]

Code by anhthii
 
Top Bottom
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock
No Thanks