# auto generate module
$ nest g mo <name of module>
# auto generate controller
$ nest g co <name of module>
# auto generate service
$ nest g service <name of module>
# migration db(sequelize)
$ npx sequelize-cli init
$ npx sequelize-cli model:generate --name <name of model, example: User> --attributes <all fields, example: firstName:string,lastName:string,email:string>
$ npx sequelize-cli db:migrate
$ npx sequelize-cli seed:generate --name <name of model, example:demo-user>
# add initialize data
$ npx sequelize-cli db:seed:all
# geo position
GeoApi: https://clck.ru/ejmHB
-
Notifications
You must be signed in to change notification settings - Fork 0
nestjs: maraDB, auth(session token, faker to load first data), nextjs(effector: events, effect, domain), framer-motion: different transitions), skeleton, spinner on load, pagination, query params, filters, sort, query parameters, react-select, react-range, accordion, guidGenerat, withOutsideClick, useAddEventListener, useMediaQuery, usePopup, hooks
gasymov-rustam/nextjs-nestjs-internet-shop
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
nestjs: maraDB, auth(session token, faker to load first data), nextjs(effector: events, effect, domain), framer-motion: different transitions), skeleton, spinner on load, pagination, query params, filters, sort, query parameters, react-select, react-range, accordion, guidGenerat, withOutsideClick, useAddEventListener, useMediaQuery, usePopup, hooks
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published