Skip to content

feathersjs/feathers-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

201 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

feathers-chat

CI

A FeathersJS chat application

About

This repository includes the TypeScript and JavaScript API server from the official Feathers chat guide as well as chat frontend examples for different frameworks.

API server

TypeScript

The TypeScript version of the chat API server can be found in the typescript folder. To start it install the dependencies like this:

cd typescript
npm install

Then compile the source code and run the database migration which will initialize an SQLite datbase in the feathers-chat.sqlite file.

npm run compile
npm run migrate

It can now be started with:

npm start

Or in development mode with

npm run dev

JavaScript

The JavaScript version of the chat API server can be found in the javascript folder. To start it install the dependencies like this:

cd javascript
npm install

Then run the database migration which will initialize an SQLite datbase in the feathers-chat.sqlite file.

npm run migrate

It can now be started with:

npm start

Or in development mode with

npm run dev

Frontend

Plain JavaScript

A plain JavaScript frontend can be found in the public folder which is hosted statically by both, the TypeScript and JavaScript api server.

React

The React chat frontend example in the react folder uses create-react-app, TypeScript and the typed client available in the TypeScript API server.

The TypeScript API server needs to be compiled and then running in order for this example to work.

VueJS

TBD

About

A Feathers real-time chat application

Resources

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors