- π Table of Contents
- π Overview
- π Repository Structure
- π Getting Started
- π£ Roadmap
- π€ Contributing
- π License
- π Acknowledgments
Notly's backend is a simple to use note taking application's CRUD support backend, all written in Typescript NodeJS and with the help of a NoSQL DB (here Mongo DB).
βββ NotlyBackendAssignment/
βββ .gitignore
βββ README.md
βββ package-lock.json
βββ package.json
βββ tsconfig.json
βββ src/
βββ controllers/
βββ models/
βββ routes/
βββ utils/
βββ index.ts
Clone the repository with the follwoing command.
git clone https://github.com/047pegasus/NotlyBackendAssignment
Firstly install all dependencies to run the dev environment correctly.
npm install --save-dev
# or
yarn install
# or
pnpm install
# or
bun install
Make sure that the local MongoDB instance is healthy and running before-hand itself on port 27017 (default Mongo Port) or make adjustments respectively in src/index.ts file.
Then run the project with the following command arrays to complie and run the project successfully:
npx tsc
npm run dev
Open http://localhost:7777 with your browser to see the result.
You can start editing the page by modifying src/index.ts
. The page wont auto-updates as you edit the file, instead you need to hot reload it with something like Nodemon or simple kill and restart the server.
βΉοΈ Task 1: Implement user authentication and authorization using JWT.
βΉοΈ Task 2: Add functionality for rate limiting of endpoints.
βΉοΈ Task 3: Enhance the sub-operations in the API as well as the Backend to offer more categories in storing the note in HTML format specifically.
Contributions are always welcome! Please follow these steps:
- Fork the project repository. This creates a copy of the project on your account that you can modify without affecting the original project.
- Clone the forked repository to your local machine using a Git client like Git or GitHub Desktop.
- Create a new branch with a descriptive name (e.g.,
new-feature-branch
orbugfix-issue-123
).
git checkout -b new-feature-branch
- Make changes to the project's codebase.
- Commit your changes to your local branch with a clear commit message that explains the changes you've made.
git commit -m 'Implemented new feature.'
- Push your changes to your forked repository on GitHub using the following command
git push origin new-feature-branch
- Create a new pull request to the original project repository. In the pull request, describe the changes you've made and why they're necessary. The project maintainers will review your changes and provide feedback or merge them into the main branch.
This project is licensed under the βΉοΈ LICENSE-TYPE
License. See the LICENSE-Type file for additional info.
- βΉοΈ https://www.mongodb.com/
- βΉοΈ https://www.mongodb.com/try/download/community
- βΉοΈ https://www.mongodb.com/try/download/compass
- βΉοΈ https://www.mongodb.com/try/download/shell