Note-Taker is a Rest Api that allows people create, read, update and delete unique users, create, read, update and delete amazing notes seamlessly. Also with added feautures like exporting of notes to any file format and many other cool features. Inspired by Tania Rascia's Takenote.dev. Note-Taker creates user by simply using a unique username and email, nothing else. For taking notes, all that's needed is a title and a body and you're good to go. It also allows users to export their notes in formats e.g a doc file;
- Imagine going out without a laptop hanging close by, users can create notes and export them to any file format for free e.g the .doc format for MsWord Documents, without downloading any apps. (same with .pdf format [which I am currently working on])
Note-Taker is currently not hosted on any platform yet and many considerations are still being made;
- As per the fact of using mongodb as its database (seeing there's firebase),
- No thoughts on UI designs have been made yet,
- No Frontend thoughts yet and all that.
So for now, it's more like open source, feel free to contribute at anytime, and if you've got any issues or additional features, let me know or you could just go ahead and make a pull request. Have Fun and I hope this reaches you well 💖!
$ git clone https://github.com/adewolejosh/Note-Taker.git
$ npm install express mongoose pdfkit --save
$ cd Note-Taker
$ node index.js
- Launch your browser (Or even better, PostMan is preferable)
- Go to localhost:3000 (this can be changed in the index.js file)
- I didn't take into consideration the npm/nodejs/mongodb setup as it is system variant.
- Almost all operations require the User's ObjectId in headers except e.g the creation of a New User.
- Endeavor to check db/db.js to make sure your database url corresponds.
Easy authentication
- Username (unique)
- Email (unique)
- GET (get a user(specifically to get their ObjectId))
- POST (create a new user)
- UPDATE (update user's details)
- DELETE (delete a user)
Note
- Title
- Body
- GET (all notes created from a User)
- POST (create one new note as a User)
- GET (get one note)
- UPDATE (update one note)
- DELETE (delete one note)
- GET (export your notes in any format e.g .doc(Microsoft Word Document format))
- GET (export your notes in a pdf format)
- Allow for users to upload documents and convert them into a Note-Taker's note.
- Saving notes as little chunks of files instead of just strings
- Creating a Note-Taker file format e.g .nt
- Many other cool stuff