Skip to content

SaberLS/mern-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

44 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

MERN Project

A full-stack application built with the MERN stack (MongoDB, Express, React, Node.js), allowing users to create and manage posts. The project includes both a backend (API + database) and a frontend (user interface).

πŸ”— Project Links


πŸ“¦ Technologies

  • Frontend: React, React Router, React Quill
  • Backend: Node.js, Express.js, MongoDB (Mongoose)
  • Others: CORS, dotenv, nodemon
  • Hosting: Render.com

πŸš€ Features

  • βœ… Add, edit, and delete posts
  • βœ… Image upload support
  • βœ… WYSIWYG editor for post content (React Quill)
  • βœ… View individual posts
  • βœ… Full communication with the backend via REST API

πŸ§‘β€πŸ’» Running Locally

1. Server

cd server
npm install
npm run dev

πŸ“„ .env File

PORT=5000
MONGO_URI=your_mongo_connection_uri
MONGO_USER=your_mongo_username
MONGO_PASSWORD=your_mongo_password
JWT_SECRET=your_secret_key
ORIGIN=http://localhost:3000

2. Client

cd client
npm install
npm run dev

πŸ“„ Plik .env

REACT_APP_BASE_URL="http://localhost:5000/api"
REACT_APP_ASSETS_URL="http://localhost:5000"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors