Skip to content

Divine-P-77777/Martial_Verse_Project1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

MartialVerse 🌏🥋

MartialVerse is a global platform to explore the world of martial arts through curated blogs, videos, playlists, and cultural insights. Built with a modern stack for seamless performance and rich content delivery.


📁 Branch Structure

  • main — contains the Frontend code (React + Tailwind + Clerk)
  • Backendmaster — contains the Backend code (Node.js + Express + MongoDB)

🧱 Tech Stack

Frontend:

  • React (Vite)
  • Clerk for Auth
  • Tailwind CSS
  • Cloudinary for image storage
  • Lenis for smooth scroll
  • React Parallax for parallax effect

Backend:

  • Node.js with Express
  • MongoDB with Mongoose
  • Render for deployment

🔧 Getting Started

💻 Frontend Setup

1. Navigate to frontend folder:

cd Frontend

2. Install dependencies:

npm install

3. Create .env file:

VITE_CLERK_PUBLISHABLE_KEY=
VITE_CLOUDINARY_CLOUD_NAME=
VITE_CLOUDINARY_UPLOAD_PRESET=
VITE_SUPER_ADMIN_EMAIL=
VITE_API_URL=https://martialversebackend.onrender.com
VITE_FRONTEND_SECRET=
VITE_EDITOR_API_KEY=

4. Start the dev server:

npm run dev

This will run the frontend at http://localhost:5173 by default.


📦 Backend Setup (Backendmaster branch)

1. Clone only the backend branch:

git clone -b Backendmaster https://github.com/Divine-P-77777/Martial_Verse_Project1.git Backend
cd Backend

2. Install dependencies:

npm install

3. Create .env file:

MONGO_URI=your_mongo_connection_uri
PORT=5000
PRIMARY_ADMIN_EMAIL=
CLIENT_ORIGIN=https://electratrust.vercel.app
CLERK_PUBLISHABLE_KEY=
CLERK_SECRET_KEY=
FRONTEND_SECRET=

4. Run the server:

nodemon index.js

This will run the Server at http://localhost:5000 by default.

🚀 Deployment


📚 Features

  • 🔐 Secure authentication using Clerk
  • 📸 Upload and preview images using Cloudinary
  • 📘 Create and browse rich content via editor API
  • 🎖️ Admin role with moderation control
  • 🌍 Cultural exploration of martial arts globally

🧪 Future Enhancements

  • Add automated tests
  • Optimize SEO metadata
  • Add PWA support

📜 License

MIT — feel free to use and extend.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors