# Dreamparse

An angular library for integrating parse server with anguar2 aplications.

[Docummentation](https://www.notion.so/Dreamparse-ede269e286e9403aa592996c1ac8a1f8)

## Installing

run `npm i dreamparse@latest` in your project folder

## Importing

In your app module file.

_**app.module.ts**_
``` typescript
...
import { DreamparseModule } from 'dreamparse';
...

@NgModule({
    imports: [
        ...
        DreamparseModule.forRoot({
            serverURL: '{your app server url}',
            appId: '{your app id}',
            masterKey?: '{your app master key (Olny for dev mode)}',
        }),
        ...
})
```

In your app component file.

_**app.component.ts**_
``` typescript

...
import { Dreamparse } from 'dreamparse';
...

@Component({
  ...
})
export class YourComponent {
    constructor(
        private parse: Dreamparse,
    ) {}
}
```

## Usage

For more information on module usage, click [here](https://www.notion.so/Usage-ff8ec1862d4e4c1da45fc23166b53237)
