Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vicradon/wejapa-node-fs-tasks
WeJapa Internship Node filesystem tasks
https://github.com/vicradon/wejapa-node-fs-tasks
Last synced: 25 days ago
JSON representation
WeJapa Internship Node filesystem tasks
- Host: GitHub
- URL: https://github.com/vicradon/wejapa-node-fs-tasks
- Owner: vicradon
- Created: 2020-08-03T18:18:30.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-03-27T10:00:17.000Z (almost 3 years ago)
- Last Synced: 2024-04-28T06:36:17.031Z (8 months ago)
- Language: JavaScript
- Homepage:
- Size: 287 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WeJapa Internship Node filesystem tasks
## Docs
1. Default url '/' returns
```
Welcome to the notes API
```
0. To get a particular note, use the `title` and `directory`
```
/search?title=stuff&directory=stuffdir
```
0. To add a new note, use the `POST` verb and data in body
```
{
"title": "note4",
"directory": "stuff",
"content": "Blah blah"
}
```
0. To delete a note, use the `DELETE` verb with the note's title and directory in a query string
```/?title=note4&directory=stuff```
0. To list a summary of notes, use the summary endpoint
`/summary`
0. To edit a note, use the `PATCH` verb and data in the body
```
{
"currentTitle": "note4",
"directory": "stuff",
"newTitle": "Blah-blah"
}
```