The repository contains content/code for the workshop happening at The NEST IO on 21st September 2019. It covers the basics of NestJS. We'll also be covering some interesting info about React Hooks and when to use them.
This is a collaborative initiative of ReactKHI and NodeSchool Karachi.
Join our NodeSchool Karachi Slack to discuss.
Please install Git & NodeJS in your machine. Once done, open your terminal/command prompt & make sure you are at the root of this project. Then run the commands below:
git clone https://github.com/nodeschool-karachi/fusionx-workshop.git # clone the repository
cd ./fusionx-workshop # navigate to project folder
- Navigate to the
client
folder - Create a file named
.env
inside it (theclient
folder) - Put the following code in it:
SKIP_PREFLIGHT_CHECK=true
npm install # install nestjs dependencies
cd client # cd into the client folder
npm install # install react app dependencies
cd .. # go back to project's root
Make sure you're at the project's root
npm run serve:both
# starts both the client (React) and server (NestJS) apps in watch mode
# the react app runs at port 3000 while the nestjs server runs at 5000
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
- NodeSchool Karachi
- ReactKHI
- Zainab Saleem Khan (Mentor and Advisor)
- See the complete list of all the amazing mentors here