A web service written in NodeJS leveraging socketsio
  • TypeScript 92.4%
  • Shell 3.7%
  • Makefile 2.2%
  • JavaScript 1%
  • Dockerfile 0.7%
Find a file
Haseeb Majid 64d316b71d feat: link all inversify
Link all the inversify containers so they work as expected.

Fixes: #34
2021-11-07 11:26:21 +00:00
.devcontainer feat: add devcontainer 2021-10-17 16:59:45 +01:00
.husky chore: upgrade dep 2021-10-16 23:47:54 +01:00
.vscode feat: link all inversify 2021-11-07 11:26:21 +00:00
migrations Inital Commit 2021-10-02 11:55:46 +01:00
src feat: link all inversify 2021-11-07 11:26:21 +00:00
tests refactor: remove sockets from controller 2021-11-06 22:31:23 +00:00
.dockerignore feat: add devcontainer 2021-10-17 16:59:45 +01:00
.editorconfig Inital Commit 2021-10-02 11:55:46 +01:00
.env.dist Inital Commit 2021-10-02 11:55:46 +01:00
.eslintignore feat: change openapi client 2021-11-06 21:39:37 +00:00
.eslintrc.js feat: support CORS 2021-10-31 20:15:42 +00:00
.gitignore test: add room unit tests 2021-10-20 22:11:43 +01:00
.gitlab-ci.yml feat: add better logging 2021-11-04 22:35:05 +00:00
.nvmrc feat: remove boilerplate 2021-10-03 21:35:50 +02:00
.prettierignore style: sort imports with prettier 2021-10-17 19:48:32 +01:00
.prettierrc.js style: sort imports with prettier 2021-10-17 19:48:32 +01:00
babel.config.js feat: change openapi client 2021-11-06 21:39:37 +00:00
config.example.yml fix: prod docker image 2021-10-22 21:27:52 +01:00
database.json Inital Commit 2021-10-02 11:55:46 +01:00
docker-compose.yml feat: add devcontainer 2021-10-17 16:59:45 +01:00
Dockerfile fix: build path 2021-10-26 16:50:26 +00:00
jest.config.js feat: change openapi client 2021-11-06 21:39:37 +00:00
Makefile feat: change logger to bunyan 2021-10-28 20:54:57 +00:00
nodemon.json fix: prod docker image 2021-10-22 21:27:52 +01:00
package-lock.json fix: docker image 2021-11-06 23:00:05 +00:00
package.json fix: docker image 2021-11-06 23:00:05 +00:00
README.md feat: add devcontainer 2021-10-17 16:59:45 +01:00
tsconfig.json refactor: remove sockets from controller 2021-11-06 22:31:23 +00:00

Banter Bus Core API

Running using devcontainer

The easiest way to setup this project is to use vscode's development containers. For this you will need:

First make a copy of the example files:

cp config.example.yml config.yml
cp .devcontainer/devcontainer.example.json .devcontainer/devcontainer.json
cp .devcontainer/config.example.sh .devcontainer/config.sh

The reason for this is so we can customise our development environment. For example I like to use fish shell instead of bash.

Example config.sh file

#!/bin/bash

# Name of the folder to copy files to in project (this folder should get deleted)
export temp_config_dir=.temp-config

# List of files to copy from host machine (relative to home directory) to docker container
export paths_to_port=(.config/fish)

# List of commands to run after the container is running
install_cmds() {
   apt-get install fish fzf httpie vim  -y
   curl -fsSL https://starship.rs/install.sh | bash -s -- --yes
}