{"id":16622689,"url":"https://github.com/chebro/take-notes","last_synced_at":"2026-04-09T18:46:16.888Z","repository":{"id":56506987,"uuid":"290431722","full_name":"chebro/take-notes","owner":"chebro","description":"A simple note taking web app.","archived":false,"fork":false,"pushed_at":"2022-09-17T21:07:15.000Z","size":57,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-17T23:45:59.793Z","etag":null,"topics":["ejs","expressjs","mongodb","nodejs"],"latest_commit_sha":null,"homepage":"https://takenotes.chebro.dev/","language":"EJS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chebro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-08-26T07:50:20.000Z","updated_at":"2022-09-17T21:07:19.000Z","dependencies_parsed_at":"2023-01-18T13:00:15.106Z","dependency_job_id":null,"html_url":"https://github.com/chebro/take-notes","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chebro%2Ftake-notes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chebro%2Ftake-notes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chebro%2Ftake-notes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chebro%2Ftake-notes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chebro","download_url":"https://codeload.github.com/chebro/take-notes/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243006897,"owners_count":20220743,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ejs","expressjs","mongodb","nodejs"],"created_at":"2024-10-12T03:03:38.138Z","updated_at":"2026-04-09T18:46:11.827Z","avatar_url":"https://github.com/chebro.png","language":"EJS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Notes App \n#### MongoDB | Node.js | Express.js \n\nA simple note taking web application with a basic authentication system. Uses `express` for backend routing pipeline/middleware and `ejs` templates to serve psuedo-static html pages from the `/views` directory. \n\nCheckout the [demo hosted on Azure](https://takenotes.chebro.dev).\n\n\u003cimg src=\"https://i.imgur.com/LiM9x8P.png\" width=\"500\"\u003e\n\n#### Index\n-    [Architechture and Implementation](#architechture-and-implementation)\n-    [Run Locally](#run-locally)\n     -    [Setup a MongoDB Database](#setup-a-mongodb-database)\n     -    [Setup Up Local Environment](#setup-local-environment)\n     -    [Start the Server](#start-the-server)\n-    [Contributing](#contributing)\n\n## Architechture and Implementation\nIn a nutshell, the code is based on the MVC architechture, with the following quirks:\n\n1. An `express` http server acts as the controller and routes the requests through the middleware stack.\n2. `Mongoose` is used to create `mongoDB` models/schema for the database.\n3. Authentication system uses JWTs for login adhereing to the basic OAuth0 protocols.\n4. Frontend is written is pure vanilla JS and uses `fetch API` to make backend requests.  \n\n## Run Locally\nTo run locally, first clone this repo:\n```\ngit clone https://github.com/sravanth-chebrolu/take-notes\n```\n\n### Setup a MongoDB Database\nInstall [MongoDB](https://docs.mongodb.com/manual/administration/install-community/) locally and tart your own local MongoDB server OR create a free 500 MB cluster on [MongoDB Atlas](https://www.mongodb.com/try), either way once you're done creating the database, note the server URI.\n\nIn case you're running locally, the URI will generally be `localhost:27017`.\n\n### Setup Local Environment\nCreate a `.env` file at the root directory in the following format, replace the fields with their respective values, where `MONGO_URI` is the URI to your local/cloud database, and `PORT` is where the express server will run.\n\n```\nMONGO_URI='\u003cYOUR_MONGO_URI\u003e'\nPORT=\u003cYOUR_SERVER_PORT\u003e \n```\n\n### Start the Server\n\nAfter finishing the setup, run the following command to start a local server\n\n```\nnpm start\n```\n\n## Contributing\nIn case you come across this repo as a beginner or you simply want to contribute, feel free to leave an issue/pull request. \n\nThe author will be pleased to see look at your ideas.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchebro%2Ftake-notes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchebro%2Ftake-notes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchebro%2Ftake-notes/lists"}