Skip to content

A πŸ” secure, scalable backend built with Node.js, MongoDB & Express. Integrates Firebase Auth πŸ”‘ with JWT for robust user management, features CORS 🌐 for safe cross-origin requests, and offers RESTful APIs πŸ“ for articles, users, & comments β€” perfect for modern social article platforms πŸš€.

Notifications You must be signed in to change notification settings

RohanR05/Article-Post-Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

11 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ Project Name - Backend Server

A secure and scalable backend API built with Node.js, MongoDB, JWT, Firebase Authentication, and CORS for a modern social article platform.


✨ Features

  • πŸ” User authentication with Firebase and JWT token verification
  • πŸ›‘οΈ Secure RESTful API with protected routes
  • 🌐 CORS enabled for frontend-backend communication
  • πŸ’Ύ MongoDB database for storing users, articles,
  • πŸ”— Integration with Firebase Auth for seamless login/signup
  • βš™οΈ Environment-based configuration for security and flexibility

πŸ› οΈ Tech Stack

  • Node.js - Server runtime environment
  • Express.js - Web framework for building APIs
  • MongoDB - NoSQL database
  • JWT (jsonwebtoken) - JSON Web Tokens for user session and authorization
  • Firebase Admin SDK - To verify Firebase ID tokens and manage users
  • CORS - Cross-Origin Resource Sharing for frontend integration
  • dotenv - Environment variables management

πŸš€ Getting Started

πŸ“‹ Prerequisites

  • Node.js (v14 or above recommended)
  • MongoDB (Atlas or local)
  • Firebase project with service account credentials
  • npm or yarn

βš™οΈ Installation

  1. Clone the repo
    git clone https://github.com/yourusername/your-repo.git
    cd your-repo

About

A πŸ” secure, scalable backend built with Node.js, MongoDB & Express. Integrates Firebase Auth πŸ”‘ with JWT for robust user management, features CORS 🌐 for safe cross-origin requests, and offers RESTful APIs πŸ“ for articles, users, & comments β€” perfect for modern social article platforms πŸš€.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •