Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

zekro-archive/aspmusiclist

Repository files navigation

Music List   Build Status

This is just a small project where I am currently trying to get into ASP.NET Core as REST API and Angular as Front End.

"Road Map"

  • API Documentation

  • Appropriate error messages in front end

  • Spotify API integration
    Maybeeee way later because this would be a heck lot of work for such a project.

  • Administration key
    Will be created and displayed on creation of a list to delete, chanhe password

    • Backend Implementation
    • Frontend Implementation
  • Spotify Search Link

  • Code Documentation

  • Rate Limiting

Build & Deploy

Docker

You can use the provided docker image which is always kept up-to-date with master on successful travis-build.

# docker pull zekro/aspmusiclist:latest

Then, start a container binding the SQLite database path from /etc/mlist/database.db and pass custom configuration via environment variables like in following example:

# docker run \
    --detach  \
    --name musiclist \
    --publish 8080:8080 \
    --restart on-failure \
    --volume ${PWD}/mlist/data:/etc/mlist \
    --env ML_LOGGING__LOGLEVEL__DEFAULT=Information \
    --env ML_CONNECTIONSTRINGS_SQLITE="Data Source=/etc/mlist/database.db"

Build Yourself

If you want to build this application yourself to run it outside of docker or with IIS, use following commands to build:

$ dotnet build

Or to build a standalone assets set:

$ dotnet publish -c Release -r linux-x64 --self-contained true

Then, you need to build the front end files:

$ cd ClientApp
$ npm install
$ npm run build

Copyright © 2019 zekro Development (Ringo Hoffmann).
Covered by MIT Licence.

About

Just a Project for getting into ASP.NET Core + Angular

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published