Skip to content

Rest API built with Axum for creating posts and reviews. It contains Authentication using JWT tokens, middleware and stores data using a mongo database.

License

Notifications You must be signed in to change notification settings

Pjiwm/Post-Review-Axum-API

Repository files navigation

Post Review Axum API

Axum is a web application framework that focuses on ergonomics and modularity for Rust. This project was made to try out Axum in Rust to make a functional restful api.

The API lets you do CRUD actions on Posts and Reviews. The API contains a generic controller, connection to mongoDB, authentication via jsonwebtokens and encryption for passwords.

Goals for this project

  • Connect to a database
  • CRUD requests
  • several models
  • encrypt passwords of users
  • use jsonwebtokens for requests
  • middleware
  • a model with complex datatypes (time, lists e.g.)
  • only objects can be deleted/edited by the author

About

Rest API built with Axum for creating posts and reviews. It contains Authentication using JWT tokens, middleware and stores data using a mongo database.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published