Skip to content

Web app built with Next.js for managing Conveyor Filters for video game Rust by Facepunch Studios. Build, share and export conveyor filters with ease.

License

Notifications You must be signed in to change notification settings

tostesdaniel/rust-conveyor-filters

Repository files navigation

Rust Conveyor Filters

This project is a web application for generating, editing, and sharing Rust conveyor filters. It is built with Next.js and TypeScript, and leverages various libraries and tools to provide a seamless user experience.

Rust Conveyor Filters

Getting Started

Prerequisites

Ensure you have the following installed on your machine:

  • Node.js
  • npm, yarn, pnpm, or bun

Installation

  1. Clone the repository:

    git clone https://github.com/tostesdaniel/rust-conveyor-filters.git
    cd rust-conveyor-filters
  2. Install dependencies:

    npm install
    # or
    yarn install
    # or
    pnpm install
    # or
    bun install

Running the Development Server

Start the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

Project Structure

The project is organized as follows:

  • components/: Contains all the React components used in the application.
  • app/: Contains the Next.js pages and layout components.
  • assets/: In-game items data and images. Necessary for seeding database.
  • config/: Configuration files for the project.
  • db/: Database schema and seed files.
  • public/: Static assets like images and icons.
  • styles/: Global styles and Tailwind CSS configuration.
  • types/: TypeScript type definitions.
  • utils/: Utility functions and helpers.

Configuration

Environment Variables

Create a .env.local file in the root of your project and add the necessary environment variables:

DATABASE_URL=your_database_url

Tailwind CSS

Tailwind CSS is used for styling. Configuration can be found in tailwind.config.ts.

ESLint and Prettier

The project uses ESLint and Prettier for code linting and formatting. Configuration files are .eslintrc.json and .prettierrc.

License

This project is licensed under the GNU General Public License v3.0 (GPL-3.0).

Acknowledgements

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

Contact

For any inquiries, please contact at tostes.dev@gmail.com.