Skip to content

reddit/devvit-template-react

Repository files navigation

🚨 Under active development! Things may not work.

Devvit React Starter

A starter to build web applications on Reddit's developer platform

Getting Started

Make sure you have Node 22 downloaded on your machine before running!

  1. Run npx devvit@next init --template=react
  2. Go through the installation wizard. You will need to create a Reddit account and connect it to Reddit developers
  3. Copy the command on the success page into your terminal

Commands

  • npm run dev: Starts a development server where you can develop your application live on Reddit.
  • npm run build: Builds your client and server projects
  • npm run deploy: Uploads a new version of your app
  • npm run launch: Publishes your app for review
  • npm run login: Logs your CLI into Reddit
  • npm run check: Type checks, lints, and prettifies your app

Cursor Integration

This template comes with a pre-configured cursor environment. To get started, download cursor and enable the devvit-mcp when prompted.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •