https://github.com/seanmisra/node-coding-exercises
10+ node exercises
https://github.com/seanmisra/node-coding-exercises
express mongodb nodejs
Last synced: 3 months ago
JSON representation
10+ node exercises
- Host: GitHub
- URL: https://github.com/seanmisra/node-coding-exercises
- Owner: seanmisra
- Created: 2023-04-27T00:08:24.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-21T23:11:42.000Z (about 2 years ago)
- Last Synced: 2025-01-10T14:41:17.024Z (5 months ago)
- Topics: express, mongodb, nodejs
- Language: JavaScript
- Homepage:
- Size: 30.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Commits correspond to each exercises
1. Setup npm project
2. Web server with http module
3. Web server with express module
4. Configure CORS with express (allow all origins)
5. Write POST API that returns sum of all elements in array (make sure to handle error scenarios)
6. Write POST API, where body has two fields (strings) that are concatenated into a single result
7. Write GET API, with parameters min/max. Will return array of integers in between range
8. Read file from file system, perform data manipulation, return via GET API (use path/fs modules)
9. Repeat exercise 8, with stream syntax (don't consider large file for now)
10. EventEmitter example
11. Modules with EventEmitter (require EventEmitter from another module)
12. MongoDB (create client; connect to Mongo)
13. Make an external API request (GET) with axios
14. Make an external API request (POST) with axios