- NodeJs/ExpressJs
- MongoDB/Mongoose
- Typescript
Installation
- Clone the repo Or Run
git pull origin master
if already cloned. - Run
npm install
in the terminal to install all related dependencies. - Create a ".env" file in the root folder as per ".env.example" file present.
- Run
npm run dev
.
Steps for Contributing
- Fork the repository.
- Clone the forked repo to your local device.
- Run
git checkout -b [BRANCH_NAME]
in your preferred terminal. - [BRANCH_NAME] in the above step should be the issue name being worked upon.
- Make all your code changes, then commit and push to your forked repo.
- Open a Pull Request to the master branch of the main repo and link the PR with the Issue being referenced(Fetch before a PR).
- POST
/auth/signup
Signup - POST
/auth/login
Login - POST
/auth/forgotPassword
Forget Password - POST
/auth/resetPassword/:id/:resetToken
Reset Password
- GET
/blogs/all?page=N
Get All Blogs (Paginated response of 10 blogs from Nth page) - POST
/blogs/create
Create a Blog - DELETE
/blogs/delete/:id
Delete a Blog - UPDATE
/blogs/update/:id
Update a Blog - GET
/blogs/:id
Get a specific blog