Skip to content

abhms/actix-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Actix Server

Rust Actix-Web serde dotenv futures mongodb

This project is an Actix web server implemented in Rust. It utilizes Actix-Web for building asynchronous web applications, serde for serialization and deserialization, dotenv for environment variable management, futures for asynchronous programming, and mongodb for database connectivity.

Requirements

  • Rust 1.56+
  • Cargo (Rust's package manager)

Dependencies

  • Actix-Web 4.0
  • serde 1.0.136
  • dotenv 0.15.0
  • futures 0.3
  • mongodb 2.2.0

Usage

  1. Clone the repository:

    git clone https://github.com/abhms/actix-api.git
    cd actix-server
    
    
  2. Install dependencies using Cargo:

cargo build
cargo run
 
and for Auto Reload run :  cargo watch -x run
  1. Replace .env with below variable

    MONGODB_URI=

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages