Table of Contents
Here is my Mission 4 for LV5 Advanced Software Development. For this project, I build a pipeline that deploys my API from Mission 3 to a cloud automatically. I needed to build the pipeline using Github Actions so that as soon as I “git push” a new version of the code to my Github repository, the new code will automatically get deployed to Google Cloud Platform, and my new version of API is available on the cloud. I also automate the running of unit tests as part of the pipeline.
Typescript
TS-Node
First, You change the branch to chao and copy the link by clicking on code and it should reveal the link. Once you have copied the code, hop into your Visual Studio Code and type in your terminal
https://github.com/chaoxinnhin/Mission-4-LV5-ADV.git
That should clone this repository into your files. Make sure to open the directory into your terminal and enter the following:
ts-node server.ts
and
yarn test
In case you haven't installed Node packages and testing kits for typescript, just make sure to go through the link below and it will give you a step by step guide. You will have to enter them in your terminal for everything to work.
https://jestjs.io/docs/getting-started
yarn add -D typescript ts-node-dev @types/node @types/express
Chao Xin - chaoxin.nhin@gmail.com
Project Link: https://github.com/chaoxinnhin/Mission-4-LV5-ADV.git
```