rest-api-node-typescript
Building RESTful Web APIs with Node.js, Express, MongoDB and TypeScript
File Explorer
Download Latest Version (.zip)- FUNDING.yml
- settings.json
- cert.pem
- key.pem
- cannot-get-data-with-http.png
- cannot-get-data-without-key.png
- cannot-get-data-without-login.png
- cover.png
- create-first-contact.png
- create-mongodb-account.png
- delete-a-contact.png
- get-all-contacts.png
- get-contact-by-id.png
- get-data-over-https.png
- get-data-with-key.png
- get-root-request.png
- login-mongodb.png
- mongo-windows.png
- mongodb-compass.png
- run-dev-server.png
- unique-key.png
- update-existing-contact.png
- conf.py
- connect-web-apis-to-MongoDB.rst
- implement-routing-and-crud.rst
- index.rst
- introduction.rst
- make.bat
- Makefile
- security-for-our-web-apis.rst
- setting-up-project.rst
- using-controller-and-model.rst
- crmController.ts
- crmModel.ts
- crmRoutes.ts
- app.ts
- server.ts
- static.txt
- .gitignore
- package-lock.json
- package.json
- README.md
- requirements.txt
- tsconfig.json
# Installation Guide
git clone https://github.com/dalenguyen/rest-api-node-typescript
Downloads the entire project code from GitHub to your computer.
cd rest-api-node-typescript
Moves into the project folder you just downloaded.
2. Official Install Script
Easy Recommended- Node.js Node.js must be installed to use npm.
npm install -g typescript ts-node
Installs the package published on the npm registry globally β no need to clone the source.
Pulled directly from this repo's README.
3. Node.js
Easynpm install -g typescript ts-node
Installs the package published on the npm registry globally β no need to clone the source.
npm install
Downloads and installs the libraries listed in package.json.
npm run dev
Starts the development/run server.
npm run prod
Type this command into your terminal and run it.
Pulled directly from this repo's README.
4. Python
Easypip install -r requirements.txt
Installs the Python libraries listed in requirements.txt (or similar).
python <μ€νν νμΌλͺ
>.py # READMEμμ μ νν μ€ν νμΌλͺ
μ νμΈνμΈμ
Runs the Python script (or module).
