site url: https://portamento.herokuapp.com
- This repo contains the source files for the back end and the bundled front end for the Portamento web app.
- The sister repo, with the front end source files, lives at this url: https://github.com/Portamento-development/portamento-app
-
This is a Code Fellows Full Stack Javascript Bootcamp Project to create a browser-based synthesizer and sequencer with social sharing of synthesizer settings and ability to favorite patches and follow users.
-
Synth is the home page and displays the synthesizer and sequencer
-
User Profile displays:
- patches created by the user
- patches favorited by the user
- other users followed by the user
-
Sign in/Sign up authentication
- uses tokens for authentication
- stores tokens in localStorage
-
For app
- Javascript
- Angular
-
For development
- Chai
- Mocha
- Karma
- Webpack
- Eslint
-
Make sure to run npm install from the app directory to install dependencies
-
Please refer to the app/package.json for more info
-
Set up a portamento project directory that contains a directory for the front end and another directory for the back end:
- portamento
- portamento-app
- portamento-server
- portamento
-
Download the repos
-
Get MongoDB running on your machine or use mLab (or something similar) to host a mongoDB database
-
1 - start the back end
- Open another terminal window, navigate to the app folder and at the CLI type:
npm start
- Open another terminal window, navigate to the app folder and at the CLI type:
-
2 - start the front end (for local editing and testing)
- Open another terminal window, navigate to the app folder and at the CLI type:
npm start
- Open another terminal window, navigate to the app folder and at the CLI type:
-
3 - Then open a browser window and navigate to the address localhost:8080
-
Please refer to the app/package.json for info about app scripts
-
Please refer to the server/package.json for info about server scripts
-
Set Up
- Make sure you have the app, server and database running per "Directions to run locally"
-
To run back end tests, when in portamento-app directory at cli type:
npm test
- this will first run eslint - for more info look at .eslintrc
- then karma uses mocha to run Angular unit tests
- The code has been vetted using eslint.
- Always looking for suggestions and ideas for further development.
- Any questions and concerns can be handled by opening an issue on the codebase.
- Licensed under the MIT license - see LICENSE for more info.