Welcome to the Backend Setup Guide
This guide will help you set up the backend component of our application. Follow these instructions step by step to ensure a smooth installation process.
-
Navigate to the Backend Directory: Open your terminal and navigate to the directory where the backend code is located.
-
Install Dependencies: Run the following command to install the necessary dependencies:
npm install -
Configure MongoDB URL: Create a
.envfile in the root directory of the backend. Inside this file, add the MongoDB connection URL. For example:MONGODB_URL=mongodb://localhost:27017/your-database-nameReplace
your-database-namewith the name of your MongoDB database. -
Start the Backend Server: Once all dependencies are installed and the MongoDB URL is configured, start the backend server using the following command:
npm startThis will start the backend server, and it should now be accessible at the specified port.
Welcome to the Frontend Setup Guide
This guide will assist you in setting up the frontend component of our application. Follow these steps carefully to ensure a smooth installation process.
-
Navigate to the Frontend Directory: Open your terminal and navigate to the directory where the frontend code is located.
-
Install Dependencies: Run the following command to install the necessary dependencies:
npm install -
Start the Frontend Development Server: After the installation is complete, start the frontend development server using the following command:
npm startThis command will compile the frontend code and start a development server. Once the compilation is complete, you can view the frontend of the application in your web browser.