This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use atomic_take::AtomicTake; | |
use flume::{self, Receiver, Sender}; | |
use futures::StreamExt; | |
use futures_batch::ChunksTimeoutStreamExt; | |
use std::{collections::HashMap, hash::Hash}; | |
use std::{sync::Arc, time::Duration}; | |
use tokio::sync::oneshot; | |
pub trait Key: Send + Hash + Ord + Eq + Clone + 'static {} | |
impl<T: Send + Hash + Ord + Eq + Clone + 'static> Key for T {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--require test/suite | |
--reporter spec | |
--ui bdd | |
--recursive |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM mhart/alpine-node:12.13.0 | |
ENV APP /app/api | |
RUN mkdir -p $APP | |
WORKDIR $APP | |
EXPOSE 3333 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM node:10.15.2-alpine | |
ENV APP /app/api | |
RUN mkdir -p $APP | |
WORKDIR $APP | |
EXPOSE 3333 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM node:10.15.2-alpine | |
ENV APP /app/api | |
ENV NODE_ENV testing | |
RUN mkdir -p $APP | |
WORKDIR $APP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.DS_Store | |
LICENSE | |
readme.md | |
# App | |
test | |
# Docker | |
docker-compose.yml | |
docker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM mhart/alpine-node:12.13.0 | |
ENV APP /var/www/node | |
RUN mkdir -p $APP | |
WORKDIR $APP | |
EXPOSE 3000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var DefineMap = require('can-define/map/'), | |
Component = require('can-component'), | |
batch = require('can-event/batch/'), | |
$ = require('can-jquery'); | |
require('jquery-ui/ui/widgets/sortable'); | |
require('./sortable-list.css!'); | |
var ViewModel = DefineMap.extend({ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var DefineMap = require('can-define/map/'), | |
Component = require('can-component'), | |
deepEqual = require('deep-equal'), | |
compute = require('can-compute'), | |
Stream = require('can-stream'), | |
Kefir = require('kefir'); | |
require('can-define-stream'); | |
var ViewModel = DefineMap.extend({ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var DefineList = require('can-define/list/'), | |
DefineMap = require('can-define/map/'), | |
tag = require('can-connect/can/tag/'), | |
deepEqual = require('deep-equal'), | |
connect = require('can-connect'), | |
validator = require('validator'), | |
zxcvbn = require('zxcvbn'), | |
config = require('config'), | |
set = require('can-set'), | |
Kefir = require('kefir'), |
NewerOlder