huangcheng / startpage-server

StartPage is a start page for your browser

Home Page:https://startpage.ws

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

StartPage

StartPage is a start page for your browser.

Home

Features

Login

Categories

Create and manage different categories to organize your websites efficiently.

Category

Categoris Management

Sites

Add, edit, and remove your favorite websites within each category.

Site

User Management

Manage user's accounts.

User Management

Getting Started

This is this the backend service of the project. You can find the frontend here.

Installation

  1. Clone the repository:
git clone https://github.com/huangcheng/startpage-server.git
  1. Make sure you have the sqlx-cli installed with the mysql feature enabled:
cargo install sqlx-cli --no-default-features --features native-tls,mysql
  1. Run the database migrations:
export DATABASE_URL=mysql://<username>:<password>@<host>:<port>/<database>
sqlx migrate run

or

sql migrate run --database-url mysql://<username>:<password>@<host>:<port>/<database>
  1. Configure the server by copying the Rocekt.toml.exmaple file to Rocket.toml and editing it to your needs.

  2. Run the server:

cargo run

License

The designer of the project is huqinxue

About

StartPage is a start page for your browser

https://startpage.ws

License:MIT License


Languages

Language:Rust 100.0%