Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
April 25, 2021 01:03 pm GMT

I built doge theme of Reddit using MERN Stack!

Hello developers, I've recently created a doge theme version of Reddit, called Dogeit using the MERN Stack (MongoDB, Express JS, React JS, and Node JS).

GitHub logo kimlimjustin / dogeit

Doge version of reddit.

Dogeit

Doge version of reddit.

Dogeit demo

Local Setup

  • Clone this repository or fork it
  • Navigate to client directory
    • Run yarn or npm i.
    • Create a new file called .env which stores environment variables such as
      • REACT_APP_SERVER_URL, your server endpoint
      • REACT_APP_GITHUB_CLIENT_ID, your GitHub OAuth Client ID
      • REACT_APP_SECURITY_KEY, a random token used to secure your application
    • Start application by running npm start or yarn start
  • Navigate to server directory
    • Run yarn or npm i
    • Create a new file called .env which stores environment variables such as
      • GITHUB_CLIENT_ID, your GitHUb OAuth Client ID
      • GITHUB_CLIENT_SECRET, your GitHUB OAuth Client Secret
      • CLIENT_URL, your client endpoint
      • ATLAS_URI, your MongoDB Atlas URI
      • SECURITY_KEY, a random token used to secure your application, note that this token value must be the same as REACT_APP_SECURITY_KEY value in client/.env file
      • EMAIL_ADDRESS, Your Email Address
      • EMAIL_PROVIDER, Your Email Provider
      • EMAIL_PASS

Any comments will be appreciated :)

If you like this project, be sure to drop a star on GitHub !

Happy coding!

You might also like these articles:


Original Link: https://dev.to/kimlimjustin/i-built-doge-theme-of-reddit-using-mern-stack-58hd

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To