Skip to content

akhilkpdasan/rs-attendance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Student attendance management system

Students attendance management system written with rust backend and vuejs frontend

Build Status Build status

Motivation

This is a toy project built for learning purpose.

Screenshots

Register Login
New student View students

Tech/Frameworks used

  • actix-web (Backend)
  • vuejs (Frontend)
  • PostgreSQL (Database)

Installation

Clone the repo:

$ git clone git@github.com:akhilkpdasan/rs-attendance.git

or download zip file and unzip

Setup backend

Install rustup. See

rustup installs rustc, cargo, rustup and other standard tools to Cargo's bin directory.

Once rustup is installed run this command to make sure everything works.

$ rustc --version

Note: On windows Microsoft Visual Studio 2015+ is required Download

Install PostgreSQL Database. See

Now we are ready to create database, tables and start backend server. We can use diesel_cli to manage database.

$ cd rs-attendance
$ cargo install diesel_cli
$ diesel setup
$ diesel migration run
$ cargo run

Setup frontend Server

Install nodejs. See

Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine.

Start frontend server

$ npm install yarn
$ cd webapp
$ yarn install
$ yarn run dev

The website should now be available on http://localhost:8080

Tests

To run tests on backend

$ cargo test

To run tests on frontend

$ cd webapp
$ yarn test

About

Student attendance management system (REST API)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published