Skip to content

ChiragAgg5k/jstack-appwrite-template

Repository files navigation

JStack + Appwrite

Ship high-performance Next.js apps for extremely cheap using Appwrite.

Getting Started

  1. Clone the repository

    git clone https://github.com/ChiragAgg5k/jstack-appwrite-template
    cd jstack-appwrite-template
  2. Install dependencies

    bun i # or npm install
  3. Create a .env.local file

    cp .env.example .env.local
  4. Run the development server

    bun dev # or npm run dev

    Note: Example env consists of an example Appwrite project. You can use your own Appwrite project by updating the env variables.

Setting up Appwrite

  1. Go to Appwrite Console, sign up if you don't have an account and create a new project

  2. Once project is created, head over to Project Overview and copy projectId and endpoint

  3. Update these values in the appwrite.json file - here

    - "projectId": "686a271700323696d223",
    - "endpoint": "https://fra.cloud.appwrite.io/v1",
    + "projectId": "YOUR_PROJECT_ID",
    + "endpoint": "YOUR_ENDPOINT",
  4. For the next step, make sure you have Appwrite CLI installed. You can install it by running the following command:

    npm install -g appwrite-cli
    # or
    brew install appwrite

    For more documentation on the Appwrite CLI, check out the official documentation.

  5. Run the following command to push the changes to Appwrite:

    appwrite push
  6. Run the following command to generate the Appwrite types

Check out the blog post for more details: JStack + Appwrite

About

template for getting started with jstack + appwrite

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published