I've used Prismic(CMS) as content provider and Vercel to host the app.
-
Create A Prismic Repo Read Here
-
Clone Repo and Install Dependencies
git clone git@github.com:RAY-EZ/presence.git && cd presence && npm i
-
Add your repository name in
slicemachine.config.json{ "repositoryName": "Your Repository Name", "adapter": "@slicemachine/adapter-next", ... } -
Run Slicemachine script and push all the slices to the Prismic. More About Slices and Slice Machine
-
Add Content On Prismic.
-
Deploy on Vercel. How? here
- Create app here.
- Set Callback Url to
http://yourhost.com/api/spotify/callback - Add
client-secretandclient-id in.envfile. - Give App permission via hitting
http://yourhost/api/spotify/login - Play song 👾