Skip to content

Latest commit

 

History

History
66 lines (55 loc) · 1.49 KB

README.md

File metadata and controls

66 lines (55 loc) · 1.49 KB

ISBN Kannada

To Start

  1. Clone the Repository:

    • Ensure that you have Git installed on your machine.
    • Run the following command in your terminal:
      git clone https://github.com/sanchaya/isbn-kannada.git
  2. Setup Backend:

    • Navigate to the server folder using:
      cd isbn-kannada/server
    • Install dependencies:
      npm install
    • Create a .env file in the server folder and add your MongoDB connection string:
      URI=mongodb://localhost:27017/your-database-name
    • Start the backend:
      node index.js
  3. Setup Frontend:

    • Navigate to the search folder using:
      cd isbn-kannada/search
    • Install dependencies:
      npm install
    • Start the client:
      npm run dev
  4. Deploying:

    • To deploy on a server:
      • Navigate to the search folder:
        cd isbn-kannada/search
      • Build the project:
        npm run build
      • Deploy the built files on your server.

Additional Information

  • Environment Variables:

    • Ensure that the .env file in the server folder is properly configured with your MongoDB connection string.
  • Dependencies:

    • Make sure you have Node.js and npm installed on your machine before running the setup.
    • The node version used here is v20.10.0 and next version is 14.0.4