A very neat react portfolio app that uses MongoDb, Express, ReactJs, and NodeJS
REST API was implemented on the backend. Material Ui React was used on the frontend.
Fork, then download or clone the repo.
git clone https://github.com/<your-user-name>/react_portfolio.gitThe config folder contains a file named config.js. Before running locally, change the value of db as seen in the code below. Make sure MongoDB service is running.
module.exports = {
db: "mongodb://localhost/yourdbcollection",
};Install the dependencies via the terminal.
npm installRun the main server.
CORS=1 node serverView http://localhost:3000 on the browser.
If you want to modify the front-end, go to client folder via the terminal.
cd clientInstall the dependencies required by React.
npm installRun the development server for React.
REACT_APP_API_URL=http://localhost:3001 npm startView http://localhost:3001 on the browser.
To make a production build, simply run on client folder via the terminal.
npm run buildIt re-creates a folder named public on the root directory. This is where the production-ready front-end of the web application resides.




