Skip to content

piotrsupport991/nest.js_next.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

fullstack starter - Nhost + NestJS + NextJS

Quick Start

  1. Clone project

    git clone https://github.com/nozma-knows/fullstack-starter.git
  2. Install dependencies

    1. Install Docker

    2. Install the nhost CLI

      sudo npm install -g nhost
  3. Set up and run services

    1. Start the nhost service

      • Move into nhost directory and create .secrets file

        cd nhost
        cp .secrets.example .secrets
      • Paste environment variables into .secrets

      • Start Nhost and apply seed data (first time only):

        From within nhost run:

        nhost up --apply-seeds
      • For subsequent runs:

        From within nhost run:

        nhost up
      • To spin down:

        From within nhost run:

        nhost down
      • To reset local db:

        From within nhost run:

        nhost down --volumes
    2. Start the API - NestJS

      • Move into the api directory and install dependencies

        cd src/api
        yarn install
      • Move into the api directory and create .env file

        From within src/api run:

        cp .env.example .env
      • Paste environment variables into .env

      • Start the API

        From within src/api run:

        yarn run start:dev
    3. Start the APP - NextJS

    • Move into the app directory and install dependencies

      cd src/app
      yarn install
    • Create .env file

      From within src/app run:

      cp .env.example .env
    • Paste environment variables into .env

    • Start the APP

      From within src/app run:

      yarn run dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published