Skip to content

A music player API for mysic, built with NodeJS & MongoDB. Features include authentication & streaming music.

License

Notifications You must be signed in to change notification settings

amos-kibet/mysic-api

Repository files navigation

mysic API

Get all songs

https://api-ibambe.onrender.com/api/all/songs

Features

  1. User can sign up
  2. User can sign in
  3. User can stream music

API endpoints

  1. POST /api/signup: Creates a new user
  2. POST /api/signin: Logs in a user
  3. GET /api/all/songs: Gets songs as JSON file

Body Payload Specification

Signup expects

{
    username: string,
    email: string,
    password: string
}

Signin expects

{
    email: string,
    password: string
}

Tools

  • NodeJS/Express: Server
  • MongoDB: Storage
  • JWT: Token based authentication
  • bcryptjs: Password security
  • winston: Logs

Available scripts

  • start: Starts the server with node
  • start:dev: Starts the server in watch mode

Contribution Guidelines 🏗

Want to add your inputs to the repo? We invite you to contribute.

Head to CONTRIBUTING.md to start contributing.

About

A music player API for mysic, built with NodeJS & MongoDB. Features include authentication & streaming music.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages