Code Monkey home page Code Monkey logo

freechat's Introduction

freechat

Free Chat is a cross-platform socket chat application, which uses ezyfox-server and it's client SDKs

Official site: https://youngmonkeys.org/freechat/

Supports

  • ReactJS
  • Android Java
  • Android Kotlin (developing)
  • iOS swift (developing)

Usage

ReactJS build

  1. Clone source code
  2. Move to reactjs folder
  3. Run npm start

Android build

Required environment:

- Android studio: 3.5
- Gradle: 3.5.0 or 5.4.1
- Android sdk: 26
  1. Clone source code
  2. Run git submodule update --init --recursive to clone submodules
  3. Import project to Android studio
  4. Build and done

iOS build

  1. Clone source code
  2. Run git submodule update --init --recursive to clone submodules
  3. Open project on XCode
  4. Build and run

Server-side build and run

  1. Install mongodb (Tutorial)
  2. Create freechat db in mongodb (Tutorial)
  3. Create root user using mongo shell:
	use freechat
	db.createUser(
	   {
	     user:"root",
	     pwd:"123456โ€,
	     roles:[ { role: "readWrite", db: "freechat" }]
	   }
	)

Update server/freechat-plugin/config/config.properties file to use another password

  1. Clone source code
  2. Import server folder into an IDE (Eclipse, Intellij, Netbean)
  3. Run file FreechatStartup

The server opens a websocket at ws://localhost:2208/ws

References

  1. Use embedded ezyfox-server
  2. Use ES6 client sdk
  3. User to ezydata-mongodb

License

Apache License, Version 2.0

freechat's People

Contributors

tvd12 avatar vu-luong avatar datfeed93 avatar trungthanthong avatar dereknguyen-kyberosc avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.