Coder Social home page Coder Social logo

madhavblog's Introduction

Blog Website

This is a simple blog website with separate frontend and backend components. The frontend is built using React and Vite, while the backend is powered by Node.js and Express, with data stored in MongoDB using Mongoose. image

Frontend

Installation

cd frontend
npm install

Usage

To start the development server:

npm run dev

To build the production-ready application:

npm run build

To lint the code:

npm run lint

To preview the production build:

npm run preview

Dependencies

  • axios: Promise-based HTTP client for the browser and Node.js
  • react: JavaScript library for building user interfaces
  • react-dom: DOM-specific methods for React
  • react-icons: SVG icons for popular icon packs
  • react-router-dom: Declarative routing for React.js

Dev Dependencies

Backend

Installation

cd backend
npm install

Usage

To start the server:

npm start

To start the server with nodemon for development:

npm run start dev

Dependencies

  • bcrypt: Library for hashing passwords
  • cookie-parser: Parse Cookie header and populate req.cookies
  • cors: Middleware to enable CORS with various options
  • dotenv: Loads environment variables from a .env file
  • express: Fast, unopinionated, minimalist web framework for Node.js
  • jsonwebtoken: Implementation of JSON Web Tokens
  • mongoose: MongoDB object modeling for Node.js
  • multer: Middleware for handling multipart/form-data
  • nodemon: Monitor for changes in your application and automatically restart the server
  • path: Provides utilities for working with file and directory paths

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.