GithubHelp home page GithubHelp logo

mithatercan / fullstack-spotify-clone Goto Github PK

View Code? Open in Web Editor NEW
6.0 0.0 3.0 470 KB

Fullstack Spotify clone app using NextJS and many other libraries.

Home Page: https://nextjs-spotify-clone-lac.vercel.app/signin

JavaScript 0.37% TypeScript 99.63%
clone nextjs prisma react serverless spotify context-api spotify-clone swr

fullstack-spotify-clone's Introduction

Spotify Clone

NextJS was used on both the client and server sides to create a Spotify clone. I used Postgresql and Prisma ORM for the database. ChakraUI was used to construct the style's components.

Setup ⚙️

First and foremost, you must have the Postgresql database. If you don't have one running locally, you may establish a Postgresql database using Heroku.

  • Start with cloning this repo.
 git clone https://github.com/mithatercan/nextjs-spotify-clone.git
  • You should install the dependencies.
 npm install
 #or
 npm install --force
  • You should create the .env file to set the JWT secret and database URL variables.
  touch .env
  • The .env file should look like this.
  DATABASE_URL=
  SHADOW_DATABASE_URL=
  JWT_SECRET =

Prisma ORM

You must have the prisma orm downloaded on your local machine. To download the prisma, check the guide here.

  • Then you should run migrate the schemas to database
  npx prisma migrate deploy
  • And finally you should seed the data.
  npx prisma db seed

Final Step

After all these setup above. The app is ready to run.

 npm run dev

Default port is 3000. App will be running at localhost:3000

Contribution 🙏

Pull requests are welcome, you can simply create an issue and contributing the app.

License

MIT

fullstack-spotify-clone's People

Contributors

gordun209-hub avatar mithatercan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.