Skip to content

A NestJS backend for Moody, an app that generates music playlists based on your mood. Handles user authentication, mood tracking, and playlist recommendations. Built with NestJS, PostgreSQL, Prisma, and JWT.

Notifications You must be signed in to change notification settings

teodorat63/Moody

Repository files navigation

Moody Backend 🧠💬

This is the backend for Moody, an intelligent app that generates personalized playlists based on your current mood. Built with NestJS, PostgreSQL, and Prisma ORM, it features robust authentication with JWT, organized modular architecture, and a fully dockerized dev environment.

🚀 This backend is intended to be used together with the Moody Frontend, which provides the user-facing experience.


🧠 What It Does

  • 🎧 Generates playlists tailored to how you're feeling
  • 😊 Tracks user moods over time
  • 🛡️ Provides secure user registration & login
  • 🧱 Modular and scalable backend architecture
  • 🐳 Fully dockerized environment

🏗️ Tech Stack

  • NestJS – Progressive Node.js framework
  • Prisma – Modern ORM for PostgreSQL
  • PostgreSQL – Relational database
  • Docker – Containerized environment
  • Passport.js – Authentication middleware
  • JWT (JSON Web Tokens) – Secure token-based auth
  • Argon2 – Secure password hashing

🔧 Features

  • User authentication: sign up, sign in, JWT tokens
  • Secure password hashing with argon2
  • Modular NestJS architecture with Dependency Injection
  • Guards and Custom Decorators for protected routes
  • Integrated with Prisma ORM
  • Dockerized PostgreSQL database
  • Auto-run migrations on container start
  • Clean and extendable codebase

About

A NestJS backend for Moody, an app that generates music playlists based on your mood. Handles user authentication, mood tracking, and playlist recommendations. Built with NestJS, PostgreSQL, Prisma, and JWT.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published