henry-sarabia / discover-server Goto Github PK
View Code? Open in Web Editor NEWGo server and Webpack bundle for my Discover-Now website
Home Page: https://discover-now.herokuapp.com/
Go server and Webpack bundle for my Discover-Now website
Home Page: https://discover-now.herokuapp.com/
Add a basic front end using Go templates
Package scry contains playlist generation code. Import this package and amend previous generation endpoint.
The current verification function for the required environment variables is naive. It can probably be improved using the OS package.
There are about 10 global variables in the main file. This should be reduced to improve testability. Removing these global variables will also make the package easier to reason about.
The test_data directory is no longer needed as the functionality it was testing has been moved to another package.
As it stands, any error that bubbles up from imported packages is simple printed before sending an HTTP error back to the client as a response. There should be a better way to handle these errors.
The refind package contains the necessary types and functions for playlist generation. Use the spotify service in conjunction with the main refind package to a playlist generation endpoint.
Playlist generation code is difficult to read, improve, and maintain. New generation code in a new package will be used instead.
The current version of this application will always title the generated playlist "The Discover Now Project". This is fine if a user only ever generates one playlist at a time, but I've found this to rarely be the case for me. Shortening the title and appending the date is a straightforward solution but perhaps there is something more creative or helpful that can be implemented.
This project is 8 months old now and I've learned more about CSRF attacks and security in general. The techniques applied in this project should be reviewed before being released to other users.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.