Spotify Clone BY me cristian2213
View Demo (Just Front-end, I'm looking for back-end provider)
·
Report Bug
·
Request Feature
Table of Contents
This is a Spotify clone created with Nests and React, currently client and server are working well, but I can just deploy the front-end, because of on the back-end side I need money to pay by a cloud provider, since I'm using more than one docker container and I need a provider with support to Kubernetes, but If you want to test this project, you must execute it locally in your environment.
These are the technologies with which this project is being built:
First, make sure you have the following dependencies with this version or a newer one.
-
node & npm
v16.13.1 & v8.1.2
-
Docker & Docker-compose
-
A coffee on your table ☕
To run this project, please follow the steps below to Node.js.
-
Clone the repo
git clone https://github.com/cristian2213/Spotify-clone-react-nodejs
-
Run services
docker-compose up -d
-
Create a .env file in the server folder and paste this variables:
APP_NAME=spotify APP_PORT=8080 APP_HOST=http://localhost:8080/v1/ DB_TYPE=postgres POSTGRES_HOST=localhost POSTGRES_NAME=spotify-db POSTGRES_USER=root POSTGRES_PASSWORD=123456 POSTGRES_PORT=5432 TYPEORM_CONNECTION=postgres TYPEORM_HOST=localhost TYPEORM_USERNAME=root TYPEORM_PASSWORD=123456 TYPEORM_DATABASE=spotify-db TYPEORM_PORT=5432 TYPEORM_SYNCHRONIZE=false TYPEORM_LOGGING=true TYPEORM_ENTITIES=src/**/*.entity.ts TYPEORM_MIGRATIONS='src/database/migrations/*.ts' TYPEORM_MIGRATIONS_DIR=src/database/migrations/ TYPEORM_MIGRATIONS_TABLE_NAME=migrations JWT_SECRET=your-secret
-
Create a .env file in the client folder and paste this variables:
REACT_APP_HTTP_SERVER=http://localhost:8080/v1
REACT_APP_STATIC_FILES=http://localhost:8080/
- Install NPM packages in server and client folder:
npm run install
- Run Server and Client to the same time:
npm run watch
Use this space to show useful examples of how a project can be used. Additional screenshots, code examples and demos work well in this space. You may also link to more resources.
For more examples, please refer to the Documentation
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt
for more information.
My Linkedin: https://www.linkedin.com/in/cristian-johany/