Angular front-end supporting codingmarks.org
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.editorconfig
.gitignore
.nvmrc
LICENSE
README.md
angular.json
karma.conf.js
ngsw-config.json
package-lock.json
package.json
protractor.conf.js
tsconfig.json
tslint.json

README.md

Codingpedia bookmarks, aka #codingmarks

Collection of (cu)rated coding bookmarks. Create your personal bookmark list, rate and share your hidden gems so everybody can benefit. The public codingmarks are also published weekly on Github at https://github.com/Codingpedia/codingmarks:

Codingmarks Context

This repo contains the Angular front-end source code of the www.codingmarks.org website

The project is developed with the MEAN stack, featuring MongoDB, ExpressJS, Angular and NodeJS. Authentication and authorization is done via Keycloak:

Network Diagram


Development setup

There is a two-step setup required for development

  • front-end setup concerning angular/angular-cli setup; this is described on this page
  • backend-end setup concerning mongodb, keycloak, nodejs

You need to complete both parts for local development

Front-end

This project was generated with Angular CLI version 1.0.1.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the -prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor. Before running the tests make sure you are serving the app via ng serve.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.