Skip to content

yahavmor/beatify---backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Beatify Backend

A full-featured Node.js backend project, a part of and end-to-end app.

🚀 Features

  • Authentication & Authorization

    • JWT-based authentication
    • User signup/login/logout
    • Role-based access control
  • RESTful API Architecture

    • Clean route organization
    • Controller-Service pattern
    • CRUD operations
  • Database Integration

    • MongoDB connection
    • Advanced filtering
    • ObjectId handling
    • Array operations in documents
  • Production Ready

    • Environment configuration
    • Comprehensive logging
    • Error handling
    • Middleware pipeline

🛠️ Tech Stack

  • Node.js & Express
  • MongoDB
  • JWT Authentication
  • BCrypt password hashing
  • Cookie-based sessions

📦 Installation

# Install dependencies
npm install

# Start development server
npm run server:dev

🗄️ Project Structure

mister-backend/
├── api/                # API routes and controllers
├── config/            # Configuration files
├── middlewares/       # Custom middleware functions
├── public/            # Static files and test frontend
├── services/          # Business logic layer
└── logs/             # Application logs

🔑 Key Learning Points

  • REST API design principles
  • Authentication flows
  • Database operations
  • Middleware concepts
  • Error handling
  • Logging implementation
  • Configuration management

🧪 Testing

The project includes a vanilla JavaScript frontend for testing the API endpoints. Open http://localhost:3030 in your browser to interact with the API.

📝 License

MIT


Coding Academy - Built with ❤️ for teaching modern backend development

About

Beatify Backend Music streaming API with playlist management & user authentication

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors