This project built using:
This is an initial version, that implements some song CRUD operations. More specifically:
- Create song with attached file
- Delete song
- Song creation request validation (required fields, file extension, file size)
- Fetch song info
- Fetch track file
- List info about songs
CREATE DATABASE __DB_NAME__;
$ touch .envDefine needed environment variables as key/value pairs. In order to run the application you need to specify the following variables:
PORTDB_NAMEto match your previously created databaseDB_USERto match your PostgreSQL connectionDB_PASSWORDto match your PostgreSQL connectionDB_HOSTFILE_MAX_SIZEto define max allowed file size to upload
Before starting the server, install all the needed dependencies for the project, running the following command:
$ npm installRun the appplication using your terminal at project's root directory:
$ npm startOnce server is up and running, db schema is going to be automatically initialized by Sequelize.
This project is licensed under the terms of the MIT license. Check LICENSE file.