Skip to content

Sangram03/Project

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🚀 Project

A full-stack web application project with a frontend built in React and a backend implemented using Node.js.

📂 Folder Structure

🔧 Backend

The backend contains the server-side logic and APIs.

Folder: backend

  • insertAdmin.js: 🛠 Script for inserting admin-related data.
  • insertData.js: 📦 Script for seeding initial data.
  • insertDept.js: 🏢 Script for department-related data.
  • model.js: 📄 Database models and schemas.
  • server.js: 🚀 Main server entry point.
  • package.json: 📜 Dependencies and scripts for the backend.

🌐 Frontend

The frontend is a React-based single-page application.

Folder: frontend

  • public
    • 🌟 favicon.ico: Favicon for the app.
    • 📃 index.html: Entry HTML file.
    • 📋 manifest.json: Manifest file for PWA settings.
  • src
    • App.js: ⚛️ Main application component.
    • Pages: 📄 Directory for different page components.
    • index.js: 🖥 Entry point for React app.
    • App.css, index.css: 🎨 Styling files.
    • reportWebVitals.js: 📊 Performance tracking for React.

🛠 How to Run the Project

Prerequisites

  • 📦 Node.js (version 14.x or higher)
  • 📥 npm or yarn installed

🔧 Backend

  1. Navigate to the backend directory:
    cd backend
  2. Install dependencies:
    npm install
  3. Start the server:
    npm start

🌐 Frontend

  1. Navigate to the frontend directory:
    cd frontend
  2. Install dependencies:
    npm install
  3. Start the React development server:
    npm start

🚀 Run Both Frontend and Backend

Ensure both servers are running concurrently on separate ports.


🌟 Features

  • ⚛️ Frontend: Interactive UI built with React.
  • 🛠 Backend: RESTful API endpoints for data management.
  • 🔗 Full Stack Integration: Seamless communication between the frontend and backend.

🤝 Contributing

  1. 🍴 Fork the repository.
  2. 🌱 Create a feature branch:
    git checkout -b feature-name
  3. 💾 Commit your changes:
    git commit -m "Add feature"
  4. 📤 Push to the branch:
    git push origin feature-name
  5. 📝 Create a Pull Request.

📜 License

This project is open-source and available under the MIT License.


About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 55.3%
  • CSS 42.0%
  • HTML 2.7%