Giter VIP home page Giter VIP logo

cs546groupproject's Introduction

CS 546 Group Project

Installation (dev)

  1. Clone the repository
  2. Install NodeJS
  3. Install MongoDB
  4. Install the dependencies with npm install
  5. Seed the DB with npm run seed
  6. Run the server with npm start

Credentials

You can create a user, or use the user (after seeding): theman with the password iAmTheMan123!

The admin user can be accessed with admin and the password iAmTheAdmin123! (after seeding).

Environment variables

Environment variables used for web server, with their defaults:

PORT=3000
AUTH_SECRET=SomeSecret
MONGO_SERVER_URL="mongodb://localhost:27017/"
MONGO_SERVER_DB="musicify"

MongoDB Important Note

The latest version of MongoDB for macOS and Linux may not bind properly to localhost. If you are running into this issue, try using 127.0.0.1 instead of localhost.

Something like this:

MONGO_SERVER_URL="mongodb://127.0.0.1:27017/" npm run seed

and

MONGO_SERVER_URL="mongodb://127.0.0.1:27017/" npm run start

cs546groupproject's People

Contributors

justinoboyle avatar pramukhnadig avatar shtrahmanm avatar mzaremba-stevens avatar max-zaremba avatar amitb913 avatar

Stargazers

Roman avatar

Watchers

James Cloos 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.