charlie-cao / newbee-mall-api-rs

 🔥🔥 Newbee Mall Backend API - Rust Language Version.  新蜂商城后端接口 - rust 语言版本

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Contributors Forks Stargazers Issues MIT License

English | 简体中文


Logo

newbee-mall-api-rs

Rust version of the back-end API for NewBee Mall newbee-mall-api.

- Issues · Discussions -

About

This project is the Rust version of the back-end API for NewBee Mall newbee-mall-api, which is based on the original version's data structures and most of its logic.

Built With

Dependencies on Front-end Projects

Getting Started

1. Configure the Project

# Clone the project
git clone https://github.com/maiqingqiang/newbee-mall-api-rs

# Go to the project directory
cd newbee-mall-api-rs

# Copy .env
cp .env.exmaple .env

2. Configure the Database

# Install diesel_cli. If installation fails, refer to the Diesel document: https://diesel.rs/guides/getting-started or https://github.com/diesel-rs/diesel/blob/master/guide_drafts/backend_installation.md
cargo install diesel_cli

# Run the database migration. Before running, make sure `.env` is configured with `DATABASE_URL`
diesel migration run

3. Run the Project

# Run
cargo run

Front-end project running is not covered here. Please go to the corresponding project to check it out.

License

Distributed under the GNU General Public License v3.0. See LICENSE for more information.

Acknowledgments

About

 🔥🔥 Newbee Mall Backend API - Rust Language Version.  新蜂商城后端接口 - rust 语言版本

License:GNU General Public License v3.0


Languages

Language:Rust 99.7%Language:Dockerfile 0.3%