Skip to content

flo-lan/nestjs-react-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

frontend/src/shared directory is copied to backend (make sure to add needed dependencies to backend)

# development
$ scripts/develop.sh

Running the app

# development
$ docker-compose up

Test

# unit tests

Create DB migration

https://mikro-orm.io/docs/migrations

Create schema diff migration:

docker exec -it projectname.backend npx mikro-orm migration:create

Create blank migration:

docker exec -it projectname.backend npx mikro-orm migration:create --blank

Migrate:

docker exec -it projectname.backend npx mikro-orm migration:up

Technology

Frontend

React

vite.js (faster webpack alternative)

Redux

CSS

i18n

  • react-intl
  • extract-react-intl-messages

Backend

nest.js

MikroORM

About

nestjs-react boilerplate

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published