GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Srinivasa314/actix-web-example: An example of a complete website using actix-web for backend

BranchesTags
Open more actions menu

Latest commit

 

History

42 Commits
42 Commits

Folders and files

NameName
Last commit message
Last commit date
migrations
migrations
 
 
src
src
 
 
static
static
 
 
templates
templates
 
 
.env
.env
 
 
.gitignore
.gitignore
 
 
Cargo.toml
Cargo.toml
 
 
README.md
README.md
 
 
diesel.toml
diesel.toml
 
 

Repository files navigation

actix-web-example

actix-web-example is a complete website created using actix-web. It uses diesel for interacting with the database.

The following actions can be done

  • Create an account
  • Login
  • Delete an account
  • Change password
  • Logout

Installation

  1. This uses MySql (or Maria DB) so make sure that MySql (or Maria DB) is installed and running. Feel free to change the code to use any other database.
  2. Diesel is also required. To install it
cargo install diesel_cli --no-default-features --features mysql
  1. Change .env to be of the form given below (Refer .env in this repo as an example)
DATABASE_URL=mysql://username:password@localhost/actix_web_example
  1. Run the following commands
diesel setup
diesel migration run

Running the server

cargo run

Web Client

http://localhost:8000/

About

An example of a complete website using actix-web for backend

Topics

actix-webbackenddatabasedieselrustwebwebserver

Resources

Readme
Activity

Stars

10 stars

Watchers

1 watching

Forks

5 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.