Skip to content

leonatajeff/moodify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

moodify

We are developing a web app inspired by https://receiptify.herokuapp.com/ in GAE and Flask for CS1520.

Setting up the GAE-Hosted Environment:

Cloud datastore

To properly interact with any server data, ensure the project is set to the cs1520moodify cloud instance.

$ gcloud config set project cs1520moodify

GAE

  1. Set up CLIENT_ID and CLIENT_SECRET in main.py (a more secure way to store keys and secrets will be implemented soon)
  2. In your terminal, go to /client/ folder

Run below CLI commands

$ npm i
$ npm run create-deployable
$ cd api
$ dev_appserver.py app.yaml
  1. Open web preview.
  • Add a url to the redirect uri(s) in your spotify dashboard.
  • Set the url to the redirect uri in main.py

Setting up the local development environment

⛷ Running the backend

For our development phase, you must add your client id and secret from the spotify dashboard for the API to work. Also depending on your development environment, you must add the appropriate redirect URIs (where can Spotify.com go after verification?)

Example of a Spotify Redirect URI List

$ cd api
$ python3 setup.py install
$ flask run

⛷ Running the frontend

$ cd client
$ npm install
$ npm run start

Deploying Live

Work in Progress... This doesn't work yet

https://cloud.google.com/build/docs/deploying-builds/deploy-appengine#yaml gcloud builds submit --region=us-east1 /client/

About

We are developing a web app inspired by https://receiptify.herokuapp.com/ in GAE and Flask for CS1520.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •