Following are the steps to run the backend of the portgen on your local environment
- Install all the required packages and dependencies.
npm install
- Create a .env file in the same directory with the following configurations
MONGODBURL = <your mongodb url for connection>
eg: mongodb://localhost:27017/portgen
- Run the server.
npm start
- Click here to see the backend server running in the browser OR navigate to
http://localhost:5000
- To run the client, navigate into the client directory
cd client
- Run the client
npm start
- Click here to see the client running in the browser OR navigate to
http://localhost:3000