/nimbus

Primary LanguageJavaScript

Nimbus Sounds

Live home-page upload-page

Target Features

  • User authentication: Users can sign up, login/logout, and login as a demo user
  • Song: Users can upload songs with title and album data
  • Playback Feature: Songs can be played with progress bar and continuous play

Technologies Used

Backend

  • Express
  • Sequelize
  • PostgresSQL
  • JavaScript

Frontend

  • React
  • Redux
  • JavaScript
  • CSS3
  • HTML5

Hosting

  • Heroku

How To Launch

Backend

  1. cd into the repository
  2. cd into the backend directory
  3. npm install the dependencies
  4. Make a .env file based on the .env.example file given.
  • Recommendation to generate a strong secret: create a random string using openssl (a library that should be installed in your Ubuntu/MacOS shell already). Run openssl rand -base64 10 to generate a random JWT secret.
  1. Create a user based on the user defined in the .env file by running this command: psql -c "CREATE USER <<user>> WITH PASSWORD '<<user_password>>' CREATEDB;"
  2. Create a database by running this command: npx dotenv sequelize db:create
  3. Migrate to apply the migrations to the database by running this command: npx dotenv sequelize db:migrate
  4. Seed data to the database by running this command: npx dotenv sequelize db:seed:all

Frontend

  1. cd into the frontend directory
  2. npm install the dependencies