nitride
An admin dashboard built on Vue.js, TypeScript, Rust, and PostgreSQL.
See the User Interface source code here.
Requirement
- Rust v1.63 or greater
- PostgreSQL PostgreSQL server v14.5 or greater
- sqlx for interacting with the database,
- sqlx-cli, a command line tool for sqlx,
- cargo watch, a tool for watching the project files and recompiling when they change,
Installation (development)
- clone Repository
- copy and populate .env.example to .env
cp .env.example .env
, paying attention to theSECRET
andDATABASE_URL
variables - Run
sqlx database create
to create the database from the specifiedDATABASE_URL
Usesqlx database drop
to revert the change - Run
sqlx migrate run
to run the migrations - use
sqlx migrate add <migration_name>
to add a new migration
Documentation
Demo
The following credentials are set up for the demo application
- EMAIL:
[email protected]
- PASSWORD:
guest
- FULLNAME:
Guest Username
, - USERNAME:
guest