Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/panvourtsis/aula-backend


https://github.com/panvourtsis/aula-backend

api demo expressjs nodejs socket spotify

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# AULA - Backend

This is the minimal implementation of an API serving songs and songs info

I've implemented a model to fetch and update user and song data from a json stored locally.

### Future upgrades
In the future this could be further expanded with sockets functions for realtime data for user friends music and activity.

### Improvements
The code could be improved on:
* authorization to routes with some authentication from header (like user login)
* log files for production debugging and activity
* cluster implementation for sockets for multiple threads/cpus and nodejs in general
* change the data fetch to promises on models
* caching data using REDIS