Resume Viewer for Purdue Data Mine Program. Built using React, Express.js, and MongoDB.
- Node.js (v18.12.1 or later)
- npm (v8.19.2 or later)
- A MongoDB instance running locally or accessible over the network
-
Clone the repository:
git clone https://github.com/xipengwang-alex/Resume-Viewer.git cd Resume-Viewer
-
Install Backend Dependencies: Run the following command to install dependencies for backend:
npm install
-
Install Frontend Dependencies: Navigate to the client directory of your project and run the following command to install dependencies for frontend:
cd client npm install
-
Start MongoDB: Make sure your MongoDB instance is running. If you are running MongoDB locally, use the following command:
cd ../ mongod --dbpath=./data
-
Start the Backend Server: Open a new terminal and navigate to the Resume-Viewer directory, run the following command:
node server.js
-
Start the Frontend Server: Open another terminal and navigate to the Resume-Viewer/client directory, run the following command:
npm start
Once both the backend and frontend servers are running, navigate to http://localhost:3001 in your web browser to access the application.
- The backend server will be running on http://localhost:3000
- The frontend server will proxy requests to the backend, so you can make API requests from the frontend to
/api/*
and they will be forwarded to the backend server.