A personal project written in rust. API uses the actix web framework and a sensible folder structure to separate front-end and back-end activities.
Although this project is a monorepo its structure is such that teams can asynchronously work in their respective domains and modules without conflicts arising.
To get the application up and running follow these simple example steps.
Install dependencies using the following methods.
- Cargo
- Optional: Postgresql database
- Clone the repo
git clone [email protected]:Jorgensonnj/api.git
- Install cargo
or
sudo pacman -S cargo
sudo apt-get install cargo
- Compile application
cd /path/to/api && cargo run
Once application is running, test functionality
- Check application's health
curl "http://localhost:8080/status"