Skip to content
Merged

V0.4 #24

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
language: node_js
node_js:
- "9"
- "10"
- "11"
- "12"
cache:
directories:
- "node_modules"
Expand Down
24 changes: 10 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ The fastest way to build web applications
- [Securing controller with authentication listener](#security-listener)
- [References](https://github.com/rxstack/rxstack/tree/master/packages/security)
- [Servers](#servers)
- [Workers](#workers)
- [Databases](#databases)
- [Testing](#testing)
- [Unit](#testing-unit)
Expand All @@ -55,15 +56,15 @@ The fastest way to build web applications
- [Sequelize Service](https://github.com/rxstack/sequelize-service)

## <a name="prerequisites"></a> Prerequisites
`RxStack` requires `Node v9.0.0` and later. On MacOS and other Unix systems the
`RxStack` requires `Node v12.0.0` and later. On MacOS and other Unix systems the
[Node Version Manager](https://github.com/creationix/nvm) is a good way
to quickly install the latest version of NodeJS and keep up it up to date. You'll also need git installed.
After successful installation, the node, npm and git commands should be available on the terminal
and show something similar when running the following commands:

```bash
$ node --version
v11.10.0
v12.6.0
```

```bash
Expand Down Expand Up @@ -615,6 +616,11 @@ There are two build-in server modules:
- [ExpressServerModule](https://github.com/rxstack/rxstack/tree/master/packages/express-server)
- [SocketioServerModule](https://github.com/rxstack/rxstack/tree/master/packages/socketio-server)

## <a name="workers"></a> Workers
`RxStack` offers an easy way to create a pool of workers for offloading computations as well as managing a pool of workers.

[More details](https://github.com/rxstack/rxstack/tree/master/packages/worker-threads-pool)

## <a name="databases"></a> Databases

`RxStack` provides several modules to work with databases via
Expand Down Expand Up @@ -878,15 +884,10 @@ describe('Integration:MasterService', () => {
let masterService: MasterService;

before(async () => {
await app.start();
injector = app.getInjector();
injector = await app.run();
masterService = injector.get(MasterService);
});

after(async () => {
await app.stop();
});

it('#getValue should return real value', async () => {
masterService.getValue().should.equal('real value');
});
Expand Down Expand Up @@ -928,15 +929,10 @@ describe('Integration:MasterService', () => {
let masterService: MasterService;

before(async () => {
await app.start();
injector = app.getInjector();
injector = await app.run();
masterService = injector.get(MasterService);
});

after(async () => {
await app.stop();
});

it('#getValue should return fake value', async () => {
masterService.getValue().should.equal('fake value');
});
Expand Down
1 change: 1 addition & 0 deletions mocha.opts
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@
--full-trace
--bail
--exit
--timeout 100000
Loading