Skip to content

huangcheng/startpage-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:https://<username>:<password>@<host>:<port>/<database>
sqlx migrate run

or

sql migrate run --database-url mysql:https://<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

Releases

No releases published

Packages

No packages published

Languages