Skip to content

TunedMidja/label-mejt

Repository files navigation

LabelMejt

The Micro CMS for record labels.

A tiny CMS tailor-made for record labels. PWA made with Angular 6 and Firebase. No traditional backend needed. Super-responsive layout.

LabelMejt is used by Crystal Fake Music.

Development

Use correct Node version:

$ nvm use

Start development server:

$ yarn dev

The public result of the CMS is available at http://localhost:4200/ and the admin part at http://localhost:4200/admin (where you have to login with Google to be able to edit data).

Testing

Run the tests:

$ yarn test

Firebase Hosting

Setup Firebase Hosting.

To deploy to Firebase:

yarn deploy

Firebase Authentication

The rules are located in firestore.rules.

It restricts write to admin users only and a user is given admin rights in the Firebase DB like for example:

{ 
  "user": {
    "123": {
      "email": "[email protected]",
      "roles": {
        "admin": true 
      }
    }
  }
}

, where 123 is the user id when logging with Google. This data may be edited from the Firebase Console.

About

LabelMejt - The Micro CMS for record labels

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published