CataAdv Posted December 31, 2025 Posted December 31, 2025 (edited) # ragemp-typescript-react-mongo A full-stack starter template for **RAGE:MP** using **TypeScript**, **React**, and **MongoDB** powered by TurboRepo. --- ## 1. Install Dependencies ```bash pnpm install ``` Installs both frontend and backend dependencies. --- ## 2. Start Frontend Dev Server ```bash pnpm run dev ``` Usually available at `http://localhost:5173`. --- ## 3. Setup RAGE:MP Server 1. Download RAGE:MP server (Windows or Linux). 2. Extract server files into `apps/rage/`. 3. Ensure `.env` and `.env.example` are in `apps/rage/`: ``` apps/rage/.env apps/rage/.env.example ``` 4. Edit `.env` and set your environment variables (e.g., MongoDB URI): ``` MONGO_URI=mongodb://localhost:27017/ragemp ``` --- ## 4. Launch RAGE:MP Server * **Windows:** ```bash apps/rage/ragemp-server.exe ``` * **Linux:** ```bash cd apps/rage chmod +x ragemp-server ./ragemp-server ``` --- ## 5. Project Structure ``` /apps /rage # RAGE:MP server + .env files /ui # React frontend (TypeScript) /packages /shared # Shared TypeScript code ``` > You are now ready to start developing > If u like it, give me a star on **github** https://github.com/CataAdv/ragemp-typescript-react-mongo Edited December 31, 2025 by CataAdv text correction
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now