Skip to content

OpenMusic api let you manage your very own music, add music to your playlist, collaboration playlist with other people

Notifications You must be signed in to change notification settings

SatriaAPN/open-music-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

OpenMusic V3

this is ther version one of the OpenMusic api

this project was made by

  • Satria Aluh Perwira Nusa (fullstack)

How to Install the OpenMusic V3

  • create an .env file in the app root
  • fill the attributes of the .env file with these variables, ane make sure you change the value of these variables
  • |=================================================
  • NODE_ENV = production
  • PGUSER = yourPostgresUsername
  • PGPASSWORD = yourPostgresPassword
  • PGDATABASE = yourPostgresDatabase
  • PGHOST = 127.0.0.1
  • PGPORT = 5432
  • |================================================== after you create the .env file on the top, now install the app with these command
  • make sure you have nodeJS already installed
  • use vscode or any other IDE
  • open the folder of the app
  • now if you use the vscode and the app's folder already opened, write these command on the terminal
    • npm install
    • npm run db-create
    • npm run db-migrate-up
  • after all of the command on the top has been done, you can use npm run start-dev to start the app
    • npm run start-prod
  • to test the api, you can use api tester such as postman or insomnia

all the libraries or package or dependencies that we use in this project :

  • hapi
  • dotenv
  • joi
  • nanoid
  • pg
  • pg-hstore
  • sequelize

About

OpenMusic api let you manage your very own music, add music to your playlist, collaboration playlist with other people

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published