Skip to content

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

NodeJS-Tutorial

Discord hiring managers if you are reading this I haven't pushed anything in github in like two years since I've been busy with college. Sorry if this sucks/doesn't work.

Setting up the project

  1. Make sure that MongoDB is installed
  2. Open up a terminal in your working directory
  3. Run npm install express mongodb
  4. Launch MongoDB Compass
  5. Create a database
  6. Create a collection
  7. Upload the JSON file included into the collection
  8. Finally run npm app.js to start the server -It will be up on localhost at port 8000

In app.js

Change the collectionName and dbName constants to what your collection name and database names are respectively

Usage

Search for an artist. If the artist is in the database, it will return all the songs that are in the database made by that artist. Feel free to add more songs and artists to the database using MongoDB Compass

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages