-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
972d765
commit 21d4de5
Showing
8 changed files
with
62 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# StartPage | ||
**StartPage** is a start page for your browser. | ||
|
||
![Home](docs/homepage.png) | ||
|
||
|
||
## Features | ||
|
||
![Login](docs/login.png) | ||
|
||
### Categories | ||
|
||
Create and manage different categories to organize your websites efficiently. | ||
|
||
![Category](docs/category.png) | ||
|
||
![Categoris Management](docs/categories_management.png) | ||
|
||
### Sites | ||
Add, edit, and remove your favorite websites within each category. | ||
|
||
![Site](docs/site.png) | ||
|
||
### User Management | ||
Manage user's accounts. | ||
|
||
![User Management](docs/user.png) | ||
|
||
## Getting Started | ||
|
||
This is this the backend service of the project. You can find the frontend [here](https://github.com/huangcheng/startpage-web). | ||
|
||
### Installation | ||
1. Clone the repository: | ||
```bash | ||
git clone https://github.com/huangcheng/startpage-server | ||
``` | ||
2. Make sure you have the `sqlx-cli` installed with the `mysql` feature enabled: | ||
```bash | ||
cargo install sqlx-cli --no-default-features --features native-tls,mysql | ||
``` | ||
|
||
3. Run the database migrations: | ||
```bash | ||
export DATABASE_URL=mysql://<username>:<password>@<host>:<port>/<database> | ||
sqlx migrate run | ||
``` | ||
or | ||
```bash | ||
sql migrate run --database-url mysql://<username>:<password>@<host>:<port>/<database> | ||
``` | ||
|
||
4. Configure the server by copying the `Rocekt.toml.exmaple` file to `Rocket.toml` and editing it to your needs. | ||
|
||
5. Run the server: | ||
```bash | ||
cargo run | ||
``` | ||
|
||
## License | ||
The designer of the project is [huqinxue](https://github.com/huqinxue) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.