smartinternzproject

SmartInternz Project

This project consists of a backend and frontend application.

Project Documentation and Deployment Guide

Demo Video and Project Screenshots

Prerequisites

Setup and Run Backend

  1. Navigate to the backend directory:
    cd backend
    
  2. Install backend dependencies:
    npm install
    
  3. Create a .env file in the backend directory with the following variables:
    PORT=5000
    MONGODB_URL=your_mongodb_connection_string
    
  4. Start the backend server:
    npm run dev
    

    This will start the backend server on port 5000.

Setup and Run Frontend

  1. Navigate to the frontend directory:
    cd frontend
    
  2. Install frontend dependencies:
    npm install
    
  3. Create a .env file in the frontend directory with the following variable:
    REACT_APP_API_URL=http://localhost:5000
    
  4. Start the frontend development server:
    npm start
    

    This will start the frontend on port 3000.

Notes

Common Commands

Backend

Frontend

Troubleshooting


This README provides all necessary commands and setup instructions to run the project smoothly without clumsy errors.