Skip to content
This repository was archived by the owner on Apr 2, 2024. It is now read-only.

kainlite/chapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CH-API

Chat API.

The goal of this project is to provide the basics to get a chat working.

Important note: use localhost to navigate the site.

Requirements:

Packages for Arch Linux:

  • base-devel (pacman)
  • kore.io (manual, it must be compiled with TASKS=1)
  • curl (pacman)
  • mongodb (pacman)
  • redis (pacman)
  • hiredis (pacman)
  • libconfig (pacman)
  • libscrypt (pacaur) (requires some manual work -fPIC in LDFLAGS)
  • mongo-c-driver (pacaur)
  • libflate (pacaur)

Useful readings / APIs

Build / Run

You can make an alias or run it like this:

Set your env vars in run.sh (copy of example_run.sh) and just run ./run.sh

To test requests better use curl, for example:

curl -X POST -k --data
"email=jdoe@gmail.com&firstname=John&lastname=Doe&password=123456&password_confirmation"
https://localhost:8888/sign_up

About

Chat API - Telegram alike minimal implementation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published