Night Library
Small side-project library management system written in Rust to practice Rust.
What include
- Basic add, remove, list-all book.
- JWT and refresh token.
- User-book releation (borrow-return)
- Frontend
Tech Stack:
- Actix Web
- PostgreSQL
- Diesel & r2d2
- GraphQL (using Juniper)
- Preact
- TypeScript
Set up
The following will help you to setup Night Library.
Requirement
- Rust 1.39+
- Diesel Cli
- PostgreSQL
- Node.js (Required for changed in frontend)
- Create database 'night' in Postgres
$ psql
$ CREATE DATABASE night;
- Done
Frontend
Frontend is created with Preact using Preact CLI.
On any client-side build, the build will automatically moved to root directory
aka. night-library/client