Skip to content

ksavblik/rust-websocket-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Books Rust API with Live Updates Support through the WebSockets

Required prerequisites

  1. Docker or natively installed PostgreSQL
  2. Rust

Setup guide

Download or clone the repo:

git clone https://github.com/ksavblik/rust-websocket-api

Open the project in a terminal, install deps and run it:

cd ./rust-websocket-api
cargo build --release
# run the docker container, skip this cmd if you have active PostgreSQL instance
docker run -d --name rust_postgres -p 5432:5432 --env POSTGRES_USER=postgres --env POSTGRES_PASSWORD=postgres postgres
cargo run --release

This is it, feel free to hack the code!😄

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published