Skip to content
 
 

Repository files navigation

cyba-assignment-musicbase-backend

Mandatory assignment - 2. semester - KEA

Installation

Start by cloning the repository in terminal:

git clone https://github.com/Forkeh/cyba-assignment-musicbase-backend.git

Then navigate to the directory on your computer:

cd cyba-assignment-musicbase-backend

Lastly, use the package manager npm to install necessary dependencies.

npm install

Usage

Grab the database.sql file from the repository and use it to setup a local clone of our database.

Before being able to use the database, an .env file has to be created.

DB_HOST='127.0.0.1'
DB_USER='your_user'
DB_DATABASE='music_base_db'
DB_PASSWORD='your_password'

To run the server, type the following in the terminal:

npm start

In your browser, navigate to localhost:3000 and you should recieve the following message, if the server is running correctly:

Server.js is running🎉

Contributers

Yaw, Chris, Ali and Brian

About

Mandatory assignment - 2. semester - KEA

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages