Skip to content

xGamma-ai/StarTracker-Rustc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StarTracker Rustc

The standalone API server for StarTracker Native app.

To actively build the server src file

cargo install cargo-watch
cargo watch -w src -x run

Install diesel CLI

cargo binstall diesel_cli

diesel.rs Migrations

# Run diesel migration on a LOCAL instances to setup DB.
# Any new migrations also need to have revert option inside donw.sql
diesel migration run

Run Tests

# Add tests are defined in tests/ directory.
cargo test

Reqs:

  • Setup diesel CLI, find at https://diesel.rs
  • Don't edit schema.rs file. It is autogenerated by diesel setup
  • Change binding from 0.0.0.0 to 127.0.0.1 for local dev.

Docs:

About

Standalone API server for StarTracker Native

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published