Skip to content

Latest commit

 

History

History
42 lines (38 loc) · 1.04 KB

File metadata and controls

42 lines (38 loc) · 1.04 KB

Help Center API Assignment

Instructions

  1. Clone the Repository:

    git clone https://github.com/ayushchandra97/fullstack-assignment
    cd fullstack-assignment
  2. Frontend:

    • Navigate to the frontend directory.
      cd frontend
    • Install the dependencies.
      npm install
    • Start the Vite React development server:
      npm run dev
  3. Backend:

    • Navigate to the backend directory.
      cd backend
    • Install the dependencies.
      npm install
    • Start the Node.js server (nodemon):
      npm run devStart
    • or
      npm start
    • The backend server uses MongoDB as database. So in order to run the server locally create a new connection locally and use that connection url with database name as the parameter (eg, mongodb://localhost:27017/HelpCenterCard) inside of the mongodb_url variable in the server.js file located inside the backend directory.