Get Started
This guide will help you set up your development environment and get your first application running in minutes.
Prerequisites
Before you begin, ensure your development environment meets these requirements:
- Node.js version 18 or higher.
- React Developer Tools browser extension (recommended)
- VSCode is recommended, along with the recommended extension.
npm Optional
While many developers have npm installed, this template runs entirely on pnpm. You can use anything - yarn, pnpm, npm.
Quick Check
Verify your Node.js version by running node --version in your terminal. You should see v18.0.0 or higher.
Installation
Choose one of the following methods to create your new project:
Method 1: GitHub Template (Recommended)
The easiest way to get started is by using the GitHub template feature:
- Visit the starter kit repository
- Click "Use this template" button
- Select "Create a new repository"
- Choose a name for your project
- Click "Create repository from template"
git clone https://github.com/YOUR_USERNAME/YOUR_PROJECT_NAME.git
cd YOUR_PROJECT_NAMEpnpm installWhy Use GitHub Template?
Using the GitHub template creates a clean repository without the original commit history, making it perfect for starting your own project.
Method 2: Git Clone
# Clone the template with a custom remote name
git clone -o seed -b master --single-branch \
https://github.com/wsameer/adonisjs-react-starter-kit my-awesome-app
# Jump into your project
cd my-awesome-appRemove Git History (Optional)
git init
git add .
git commit -m "Initial commit"
# Install dependencies (Bun makes this blazing fast)
pnpm installWARNING
When using git clone, you'll inherit the entire commit history. Remove the .git folder if you want a clean start.
Environment Setup
- Create Environment File
cp .env.example .env- Generate Application Key
node ace generate:keyDatabase Setup
- Run Migrations
ace migration:run- Seed Database (Optional)
ace db:seedStart Development Server
Run the development server to see your application in action:
pnpm devNext Steps
Now that you have your development environment set up:
- Explore the Project Structure - Learn about the directory structure ->
- Understand the Workflow - Development workflow guide ->
- Build something amazing - Begin customizing your application for your specific needs