Skip to content

Fazatholomew/cuty-server

Repository files navigation

Cuty.ink Server 🚀🦀

Welcome to the Cuty.ink Server! This project is a Rust server for Cuty.ink. Built using Rocket, Diesel, and SQLite, the server should be able to handle a lot of concurrent requests at the same time. Frontend source code can be found here

🚀 Getting Started

To get started with the Cuty.ink Server, follow these steps:

  1. Make sure you have Rust and Cargo installed on your machine.
  2. Clone this repository to your local machine:
git clone https://github.com/fazatholomew/cuty-server
  1. Navigate to the cloned repository:
cd cuty-ink-rocket-rust-server
  1. Write .env file. Below is an example:
DATABASE_URL=database/database.db
SECRET_KEY=6LdQTcIjAAAAAERkhAFR4Rphe-HqQMAp9hlN_pk2
FRONT_END_URL=http://localhost:5173
  1. Install Diesel CLI
cargo install diesel_cli
  1. Run Diesel migration
diesel migration run
  1. Build the project using Cargo: cargo build
  2. Run the server: cargo run

🤝 Contributing

We welcome contributions to the Cuty.ink Server! If you want to contribute, please follow these steps:

  1. Fork this repository.
  2. Create a new branch for your changes.
  3. Make your changes and commit them to your branch.
  4. Push your changes to your fork.
  5. Open a pull request against the master branch of this repository.

Thank you for considering contributing to the Cuty.ink Server! 🎉