ZapStack

Installation

Guide to setup your project at first

Welcome guys, let's start to setup your project:

Requirements

  • Node 18+

  • Npm 10+

  • Git CLI

Setup and Running on local

  1. Clone the repo:
git clone https://github.com/zapstackdev/NextZapStack [your_project_name]
 
cd [your_project_name]
  1. Install node packages:
npm i
  1. Copy .env.sample file into .env file, see details in Configuration section:
cp .env.sample .env
  1. Init database schema, just run one of these, depends on which kind of database you want to use:

npm run generate:postgres or npm run generate:mongodb

You can see the details later in Database section.

  1. Run developement server:
npm run dev

By default, it will run at port 4000. Open in the browser and check it out:

http://localhost:4000

You can change the port in package.json

On this page