Giter Club home page Giter Club logo

dep's Introduction

Project Title - BRAND ( A Blogging Website ✉️)

Screenshots

WhatsApp Image 2023-10-03 at 23 38 37 WhatsApp Image 2023-10-03 at 23 38 43 WhatsApp Image 2023-10-03 at 23 38 58 WhatsApp Image 2023-10-03 at 23 38 32 WhatsApp Image 2023-10-03 at 23 39 16 WhatsApp Image 2023-10-03 at 23 38 10 WhatsApp Image 2023-10-03 at 23 39 21 WhatsApp Image 2023-10-03 at 23 38 19 WhatsApp Image 2023-10-03 at 23 39 08

Hosted URL

Frontend - https://rituraj12797.github.io/FRONTEND/ 🌐

Backend - https://dep-mocha-six.vercel.app/ 🌐

Github Link

Frontend - https://github.com/rituraj12797/FRONTEND

Backend - https://github.com/Ayush-Vish/dep

Features Implemented🚀🚀

Frontend

  • User-friendly Interface 🖥️

Backend

  • User authentication 🔐
  • Forget Password 📧
  • CRUD Operations on Blogs ✏️
  • Useful middlewares like authenticate, error, and multer 🛠️
  • Implementation of utility like sendEmail 📩

Technologies/Libraries/Packages

Frontend

- HTML 🌐
- CSS 🎨
- JavaScript 🚀


Backend

- Node.js 🚀
- Express.js 🛠️
- MongoDB 📦
- Cloudinary ☁️
- bcryptjs 🔒
- nodemailer 📧
- jsonwebtoken 🍪
- multer 📁
- mongoose 🍃
- morgan 📝
- email-validator 📧
- dotenv ⚙️
- cookie-parser 🍪
- body-parser 📦
- nodemon 🔄

Local Setup 🚀

1. Cloning the repo

   git clone https://github.com/Ayush-Vish/dep.git blog_website 

2. Changing the directory to server of the blog-website

   cd blog-website

3. Installing all the dependencies

  npm  i --save

4. Making a .env file

  touch .env 

5. Open .env file and copy the content which is in the .env.example.js file . Click here

6. Starting the server 🌐

   npm run dev 

Now sever is listening on a particular port

User Routes localhost:/api/v1/user

API Routes

Route Description
User Routes
POST /api/v1/user/register Register a user
POST /api/v1/user/login Login a user
GET /api/v1/user/logout Logout a user
GET /api/v1/user/me Get user details
POST /api/v1/user/updateUser Update user details
POST /api/v1/user/forgot-password Send a token for resetting password
POST /api/v1/user/reset-password/:resetPasswordToken Reset password
POST /api/v1/user/authorBlogs Get blogs written by user
GET /api/v1/user/getFollowers Get followers of a user
Blog Routes
GET /api/v1/blogs/getAllBlogs Get all blogs
POST /api/v1/blogs/create-blog Create a blog
GET /api/v1/blogs/getblog/:id Get a blog by ID
GET /api/v1/blogs/getblogByCategory/:category Get a blog by category
GET /api/v1/blogs/ Get recent blogs
PUT /api/v1/blogs/update-blog/:id Update a blog by ID
GET /api/v1/blogs/getAllComments/:id Get all comments on a blog
POST /api/v1/blogs/writeComment/:id Write a comment on a blog
DELETE /api/v1/blogs/removeComment/:id/:commentId Remove a comment on a blog
POST /api/v1/blogs/likeBlog/:id Like a blog by ID
DELETE /api/v1/blogs/unlikeBlog/:id Unlike a blog by ID

Team Members

  • Ayush Vishwakarma 2022IMT-028 👨‍💻

  • Ritu Raj 2022IMG-057 👩‍💻

  • Divya Agarwal 2022IMT-036 👩‍💻

dep's People

Contributors

ayush-vish avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.