ramverk2-chat v1.1.0
Chat client and server with Stackoverflow API support.
##Requirements
- Node >= 8.6.0
- Docker
- Docker-compose
About
This is a chat made with Electron as client, Express as server and Mongodb as database.
Installation
For now you have to cd into node_modules/ramverk2-chat and then run the command npm run install-all to install all dependencies for server and client.
Configuration
You need to add your own Stackoverflow api key to use this chat. You'll need a file called token.json and it needs to be located in server/config. You can check the server/config/example-token.json to see how it needs to be structured.
Starting
To start the server and client cd into node_modules/ramverk2-chat and run the command npm run start-all and it'll start the server,client and database.
Available Commands in node_modules/ramverk2-chat
install-all installs all dependencies for server and client.
install-server installs all dependencies for the server.
install-client installs all dependencies for the client.
start-all starts the server, mongodb and client. Server starts in a docker container with -d
start-express starts the server in a docker container with -d and mongodb
start-client starts the client.
start-exp starts the server with npm start.
start-mongo-d starts mongodb in a docker container with -d.
start-mongo starts mongodb in a docker container.







