Skip to content

Phonograph is a Nextjs app that explores songs, albums and artists from spotify.

Notifications You must be signed in to change notification settings

mosha8/phonograph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

Phonograph is an application developed using Nextjs that interacts with Spotify API to search for songs, artists, and albums. The client communicates to the server over the /api/graphql endpoint created using graphql-yoga. There is also an implementation of Authjs with google and custom credentials providers using the JWT strategy and custom Sing in and Sing up pages.

Prerequisites

Please make sure you have the following installed:

Node.js (v22)
bun (v1)
docker

and that you have created a file called .env similar to .env.example with the right values.

Run locally

Run the following commands:

bun install
bun docker:up
bun graphql:codegen
bun prisma:generate
bun prisma:migrate-deploy
bun dev

Run using Docker:

Run the following commands:

bun docker:up
bun docker:build
bun docker:run

More

The file structure of the repository looks like this:

├── docker
│   └── volumes
│       ├── postgres
│       └── redis
├── public
└── src
    ├── app
    ├── assets
    ├── components
    ├── configs
    ├── features
    ├── lib
    ├── server
    └── styles       

License

MIT

About

Phonograph is a Nextjs app that explores songs, albums and artists from spotify.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages