Business Insights web application built by developers at BUILD using the MERN stack for the analysts at IUCG UMass Amherst.
Create a database specific to your testing:
-
Follow the instructions on Atlas to create a test database for this project.
Note: This will eventually be replaced with a shared server version.
-
Once set up, navigate to connect>Connect your application and copy the connection string/url for Node.js driver ('mongodb://...').
-
Clone this repo (if not already) and replace the text in
.env
such that:MONGODB_URI = 'Your connection string'
-
Open a terminal window in your project directory
-
Install the dependencies in package.json by running:
npm install
-
Once finished, start the application:
npm run dev
Note: This should open a new tab in your browser, otherwise access http://localhost:3000 to view the app in your browser. This will concurrently run start and server (including the db connection code).
Now you can interact with the app and create articles!
To run the application again, skip to steps 3 and 4 of running the app.