Giter Site home page Giter Site logo

aparna0522 / my-favourite-playlist Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 3.0 2.66 MB

A nodejs application which accepts a username and a playlist name(users' favourite playlist) and stores it in a mongodb database. This is output on the webpage in a JSON format to find a list of all the users and their favourite playlists. The application is then dockerised to make it platform independent.

Dockerfile 14.05% JavaScript 85.95%
mongodb-application nodejs-application docker good-first-issue

my-favourite-playlist's Introduction

My Favourite Playlist

Connected the node.js application with MongoDB at the backend to store and create database of the users and their favourite playlist.
A user can be created, by simply visiting the webpage http://localhost:8000/user-create
The list of names of users can also be seen in a JSON Format on the webpage http://localhost:8000/users
The name and playlist can be viewed, modified deleted using the mongodb atlas.
This application is dockerised using Docker and made platform independent.

How to run this project?

  1. Clone this repository.
  2. Open the MongoDB atlas(on browser).
  3. Create a cluster and get the connection URL for the same.
  4. Paste this URL in the connection.js under src folder.
  5. Open your terminal, open this directory and use the command docker-compose up
  6. Now, visit http://localhost:8000/users and http://localhost:8000/user-create

Project Inspired From: https://itnext.io/dockerize-a-node-js-app-with-vs-code-bd471710dc22

my-favourite-playlist's People

Contributors

aparna0522 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.