https://github.com/ansh-rathod/musive-backend
Backend for musive app made in nodejs and postgreSQL.
https://github.com/ansh-rathod/musive-backend
music music-api node-js postgresql
Last synced: 11 months ago
JSON representation
Backend for musive app made in nodejs and postgreSQL.
- Host: GitHub
- URL: https://github.com/ansh-rathod/musive-backend
- Owner: Ansh-Rathod
- Created: 2022-01-27T05:57:19.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-01-27T07:29:19.000Z (over 4 years ago)
- Last Synced: 2025-05-07T20:29:23.849Z (about 1 year ago)
- Topics: music, music-api, node-js, postgresql
- Language: JavaScript
- Homepage:
- Size: 407 KB
- Stars: 24
- Watchers: 2
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Musive-Backend
In Order to run Musive app you need to follow few steps.
### Tools we need.
- Heroku account and Cli installed in the machine
- git installed.
- PostgreSQL(psql command line).
We can easily upload it to Heroku
- first clone this repo. to your local machine.
- delete .git folder.
- now initiate git repository with the following commands.
- `git init`
- `git add .`
- `git commit -m "first commit"`
- `heroku login` login with your Heroku account.
- `heroku create` create a new web application in your account.
- `git push heroku master` run this command to push code to your application for the build.
- now go to https://www.heroku.com/postgres
- Click on 'CHOOSE A PLAN"
- again click on "install Heroku Postgres"
- now choose the web app that you created with `heroku create` command and submit your order.
- it will redirect you to the Heroku Postgres console now go to settings and view credentials.
- copy `songs.sql` file from the root of the musive Api directory and paste it into your "C" drive
- open up a psql command tool and enter your credentials.
- run `\i 'C:/songs.sql'` and your backend will be created.
- test your backend with your URL.
you can test API here [documention of api](https://documenter.getpostman.com/view/15632620/UVeAuowo)
note: change `http:localhost:4444/` to your own URL.