https://github.com/progaurab/nodejs-expressjs-training-instilllearning
https://github.com/progaurab/nodejs-expressjs-training-instilllearning
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/progaurab/nodejs-expressjs-training-instilllearning
- Owner: progaurab
- License: mit
- Created: 2024-12-12T14:19:56.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-12-13T05:22:42.000Z (about 1 year ago)
- Last Synced: 2024-12-13T06:24:36.125Z (about 1 year ago)
- Language: JavaScript
- Size: 11.7 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
```console
Step 1: Create a folder crud-api
$ mkdir crus-api
Step 2: Create package.json
$ npm init -y
Step 3: Install
a. express: A web framework for Node.js that simplifies the routing and handelling HTTP requests.
b: body-parser: Middle ware for parsing incoming request bodies (POST / PUT)
c. fs module : A built-in module to intract with the file system
$ npm install express body-parser fs
Step 4: Set up the server - Create a file name "server.js" in root directory
```
```javascript
```
Task:
1. Restrict Duplicate data while add
2. add new item in object as Company and Mobile Number
3. always save name, company like first letter of words should be capital