Skip to content

antonipatek/nexara-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nexara API

Rust API for invite-only community platform.

Note that the project was not intended to be made public therefore has no documentation.

How to run

Before building and running the API you need to have a running postgres instance.

  1. Copy .env.example to .env and change the database url option
  2. Copy config.toml.example to config.toml and adjust it to your needs
  3. Download sqlx-cli then run command below in root directory:
sqlx migrate run
  1. Generate two key pairs for JWT signing/verifying
./scripts/generate_keys.sh
  1. Start the development server
cargo run

About

💻 API written in Rust for invite-only community platform

Topics

Resources

Stars

Watchers

Forks

Contributors