ais-one / cookbook-ts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About

TL;DR NestJS, ReactJS, Typescript cookbook.

NestJS and ReactJS E-commerce Application Example (from Udemy Course by Antonio Papa)

Features

Folder Description Features
js-node/nest-admin https://www.udemy.com/course/react-nest-admin example application (e-commerce) backend using NestJS, for use with js-web/react-admin
Nest Microservice Reference https://github.com/Denrox/nestjs-microservices-example
https://www.merixstudio.com/blog/microservice-nestjs/
js-web/react-admin https://www.udemy.com/course/react-nest-admin example application (e-commerce) frontend using ReactJS, for use with js-node/nest-admin

QUICK START - ON YOUR LOCAL MACHINE

Requirements

  • Node 16+ LTS
  • Npm 8.3.2+
  • For Windows, integrate bash shell to cmd shell (when installing git), or use git-bash
  • Docker

Optional VS Code Plugins

Download

# clone repo and install backend
git clone https://github.com/ais-one/cookbook-ts.git
cd cookbook-ts

NestJS Example

cd nest-admin
npm run start:dev # create the SQlite database called db.sqlite (in actual should be created using migration), shutdown server once it is fully up and running
npm run seed # seed the data
npm run start:dev # start the server again
  • Navigate to http://127.0.0.1:3000
  • You can use test.http file in the nest-admin folder file with VS Code REST Client plugin to test enpoints

ReactJS Example

cd react-admin
npm run start

About


Languages

Language:TypeScript 88.1%Language:JavaScript 7.0%Language:CSS 2.7%Language:HTML 2.2%Language:Shell 0.1%