-
Clone project
git clone https://github.com/nozma-knows/fullstack-starter.git
-
Install dependencies
-
Install Docker
-
Install the nhost CLI
sudo npm install -g nhost
-
-
Set up and run services
-
Start the
nhost
service-
Move into nhost directory and create
.secrets
filecd 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
-
-
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
fileFrom 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
-
-
Start the APP - NextJS
-
Move into the app directory and install dependencies
cd src/app yarn install
-
Create
.env
fileFrom within
src/app
run:cp .env.example .env
-
Paste environment variables into
.env
-
Start the APP
From within
src/app
run:yarn run dev
-
-
Notifications
You must be signed in to change notification settings - Fork 0
piotrsupport991/nest.js_next.js
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published