# Welcome to React Router!
A modern, production-ready template for building full-stack React applications
using React Router.
## Features
- 🚀 Server-side rendering
- ⚡️ Hot Module Replacement (HMR)
- 📦 Asset bundling and optimization
- 🔄 Data loading and mutations
- 🔒 TypeScript by default
- 🎉 TailwindCSS for styling
- 📖 [React Router docs](https://reactrouter.com/)
## Getting Started
### Installation
Install the dependencies:
```bash
npm install
```
### Development
Start the development server with HMR:
```bash
npm run dev
```
Your application will be available at `http://localhost:5173`.
> Note: Wrangler and the Cloudflare Vite plugin now support dotenv files for local development.
> Create a `.env` in this app's root (alongside `wrangler.jsonc`) to define local `vars`.
> For example:
>
> ```dotenv
> TITLE="My Worker"
> API_TOKEN="dev-token"
> ```
>
> These will be available on `context.cloudflare.env.TITLE` / `env.API_TOKEN` in worker code during `wrangler dev`.
> You can also add `.env.<environment>` files (e.g. `.env.staging`) and run `wrangler dev --env staging`.
## Previewing the Production Build
Preview the production build locally:
```bash
npm run preview
```
## Building for Production
Create a production build:
```bash
npm run build
```
## Deployment
Deployment is done using the Wrangler CLI.
To build and deploy directly to production:
```sh
npm run deploy
```
To deploy a preview URL:
```sh
npx wrangler versions upload
```
You can then promote a version to production after verification or roll it out
progressively.
```sh
npx wrangler versions deploy
```
## Styling
This template comes with [Tailwind CSS](https://tailwindcss.com/) already
configured for a simple default starting experience. You can use whatever CSS
framework you prefer.
---
Built with ❤️ using React Router.
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/rubenpenap/mcp-auth'
If you have feedback or need assistance with the MCP directory API, please join our Discord server