Skip to content

ShalinJain1603/StackOverflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

StackOverflow

This project is built using MERN Stack

Development

Run

npm install

To install node_modules in both the directories

In the Server directory, you can run

npm start

Runs the backend server in the development mode.
Open http://localhost:4000 to view it in the browser.

  • Add a .env file with your credentials

In the client directory, you can run

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

Deployment

Deployment is done using heroku server and integrating server and client in one folder

Steps

  • Move the client folder in Server
  • In the client folder run

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

  • Create a heroku App and push the github code in it.
  • Setup on the process.env keys

Website Url

Open https://peaceful-bastion-48042.herokuapp.com to view the website in the browser

Recommendations for the best experience

  • Platform : Desktop
  • Browser : Firefox

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published