next13-server-action__nextjs Tailwind Templates

Next13 Server Action__nextjs

A small app to test server action in nextjs using Next 13.4.5, TypeScript, Tailwind, MongoDB (Atlas), Mongoose

🔌 Getting start

  1. Make sure that you have Node on your machine (LTS is recommended)
  2. First you need to install dependencies by using following command: ```shell npm install

OR

yarn

OR

pnpm install

3. This app needs a **MongoDB Database address** from this [**Link** (login)](https://account.mongodb.com/account/login), please sign up and use your own **MongoDB Database address**. For doing this, you need
   to change the [.env.example](./.env.example) to `.env.local` and put your **MongoDB Database address** in the `MONGODB_URI`.


4. To run the app on development mode, you can use one of the commands below:
```shell
npm dev

# OR

yarn dev

# OR

pnpm dev

🚩 NVM

On Mac OS or Linux, you can use command below to install the exact node version which is used to create this app.

nvm use

🎬 Preview

Top categories

Loading Svelte Themes