Skip to content

Music App Backend with Langchain and Vector Embeddings

Notifications You must be signed in to change notification settings

JHM69/Shuno-Backend

Repository files navigation

Shuno Backend

Login

Shuno is a all an one audio streaming platform for musics, podcasts, audiobooks, poem resiting or any kind of audio with Semantic Search using Vector embedding and langchain.

Shuno-Backend

huno-Backend with express js using Postgres Database and prisma

Checkout the app and CMS too

  1. App: https://github.com/JHM69/Shuno-App
  2. Artist CMS: https://github.com/JHM69/Shuno-CMS

structure

Shuno-Backend

Getting started

Install the dependancies

npm install

Connect the created server

create a .env file at the root of the project
populate it with the url of your database

DATABASE_URL = postgresql://postgres:jhm69@localhost:5432/Shuno

Run the project locally

run npm run dev

Prisma

npx prisma migrate dev
npx prisma generate

Launch Prisma Studio

Entire Database on Prisma studio

npm run prisma:studio

Api Documentation

To view the api documentation, simply run

cd docs
npx serve

Or you can import the Insomnia JSON to view explore the apis.

Extra

rm -rf prisma/migrations mkdir -p prisma/migrations/0_init npx prisma migrate diff --from-empty --to-schema-datamodel prisma/schema.prisma --script > prisma/migrations/0_init/migration.sql npx prisma migrate resolve --applied 0_init

Releases

No releases published

Packages

No packages published